Skip navigation.
Home

FeedWordPress filter poll

I am working on version 0.99 of FeedWordPress, which I hope to release sometime in the next couple weeks. One of the less obvious changes that I hope to accomplish to clean up the internal code, which has become a bit ugly and crufty over time. One thing that I would like to overhaul, if I can do so, is the way that FeedWordPress passes information to filters. But I am not yet sure whether or not I can safely do this. That's where you come in.

FeedWordPress allows you to write filters that can transform, filter out, or take actions in response to, new posts coming in. Since these filters are written in PHP, the mechanism is extraordinarily flexible if you know how to use it, but judging from the e-mail I get most people don't yet know how to use it. (That's something I hope to address in the future with some example scripts and better documentation. But one thing a time.)

So, here are the questions. Feel free to answer them as you see fit in the comments section or by e-mail.

  1. Do you use PHP filters together with FeedWordPress (e.g. syndicated_item or syndicated_post fliters)?

  2. If you do, then what do those filters do?

  3. Do your filters rely on any information from the global variables $fwp_channel or $fwp_feedmeta?

  4. What versions of WordPress and FeedWordPress are you using?

Answers will help me make an informed decision about what to do with FeedWordPress's handling of filters, which will hopefully maximize benefits while minimizing headaches. Let me know!

Advertisement

Issues and Comments

I haven't used any filter

I haven't used any filter method as of yet but would love to see it in future versions.

regards

Hey, I look forward to the

Hey, I look forward to the next release of FeedWordPress. I think I'm going to set up a "personal" blog soon and I'm going to use your plugin to incorporate flickr and delicious links (and possibly other uses).

Anyway, I think the filters thing is a good idea. To be honest though, I think I'd just let it be an "power user" feature. I'm not sure how you could implement it in an easy-to-understand fashion without dumbing it down too much for power users. I'd just tell people to study up on regular expressions if they want to use it. Other people (php savvy) will probably create pre-canned filters for others.

Anyway, I have coded up a web based aggregator myself. I could use some help with it if you get bored. Mine occupies a different niche than FeedWordPress, in that it's more intended as a personal aggregator (like google reader or rojo). If you use Firefox you can check it out here:

http://dotsandloops.net/headlines/theme/subGala/

If you don't, check it out here: http://dotsandloops.net

The new theme isn't IE bullet proof yet. :)

http://wordpress.org/support/

hi, 1st, the filters are

hi, 1st, the filters are important for me, and i use. in my primary setup: wp:1.5.2&FWP:98, and in test localhost wp:2.11& FWP: 981

2nd: FWP on Google reader`s output Atom 1.0, has a bug, in that feed there is 2 TITLE tag in feed, one do title of post and second for the name of the blog who published the post. and then FWP merges this TITLE tags to POST TITLE, but this 2 should be separate and second TITLE should go to syndication_source not to post_title.

regards

PS. example

PS. example here: http://www.google.com/reader/atom/feed/http://www.google.com/reader/atom...

1st: title type="html">Top 20 Less Known.... 2nd: title type="html">del.icio.us/popular...

Thanks for your comments,

Thanks for your comments, all.

Judging from some of the comments, I think there is some misunderstanding about FeedWordPress and filters. FeedWordPress already has a filter feature; it's just not well-promoted or well-documented. The basics (which I don't intend to change) involve writing a PHP script that uses some standard WordPress functions to latch onto hooks that FeedWordPress makes available. You can find some partial documentation of the feature in the "API" section of the FeedWordPress page, but I fear that what's there won't be of much use unless you are already comfortable writing PHP scripts in general, and WordPress plugins in particular.

One of my other short-to-medium term projects for FWP is to revamp the website to include better and more up-to-date documentation, along with some example scripts, especially some scripts that implement commonly-requested features like local image caching or excerpting of posts.

Hope this helps.

Hello, I have few issues

Hello,

I have few issues with FWD, I use the latest version with Wp2.1.

1- I wanted to add Blog Name to my feeds, with some help I did this:

"> and it works great.

2- Then I wanted the post content to be 50 or less by using IMP pluging and adding this code:

to the theme home file.

3- The major problem that I'm having is FWD is not pulling any Blogspot feeds, and I can not find out the solution for that.

Peace

Hey Rad Geek i have a few

Hey Rad Geek i have a few feature requests if possible :)

*Ability to restrict the number of posts per feed every time it is syndicated?

*Adding many Feeds together function

*Option to include a certain image for certain posts with every feeds..like if i am getting news from Google News ..getting a nice image image to show on all the syndicated posts?

*option to include the original url in the syndicated post :)

You have done some great work buddy thanks for this :)..also a thanks from all the lazy people out there who dont even drop a line to say thanks for your hardwork :)

Regards

I would love to get some more

I would love to get some more information on how to apply my own filters. I was not even aware of that functionality..

I hope you will add some more documentation or, even better, both documentation and sample scripts, to give us not-quite-so-savvy WP users a chance to tweak FWP to even higher levels.

Cheers, and please keep up the great work, donation coming up once we are past the 1st...

I'm working on making a

I'm working on making a filter with syndicated_item, although since I've never written in PHP before it's a bit of a struggle. What I'm basically working on is if a certain keyword appears in the title (say, "Visa" or "Mastercard") that the article is automatically put in a certain category (say, "Credit Cards"). I may be able to figure this out myself, but any help you can provide (such as the sample filters you're talking about) would be great.

I'm giving you a donation today regardless -- great product!

Thanks for developing and

Thanks for developing and supporting such a great plugin.

I have it in use on a site but desperately need to know the exact cronjob command that I need so it auto-updates, instead of me manually updating whenever I remember.

Ive googled and tried everything but cant get it to automatically update my site.

Any help from the developer or you wonderful followers would be greatly appreciated as you would be saving me a huge amount of time.

Cheers, Marc

I've been trying to replace

I've been trying to replace PlanetPlanet with FeedWordPress on my website, but there's one feature that's missing that's kind of a deal-breaker for me. I'd like to be able to "collapse" multiple consecutive items in the same feed into a single post. So if I post a dozen photos to Flickr all at once, or listen to 20 songs on Last.fm, I'll just get a single post that says "Posted 'A really awesome tree', and 11 more photos".

Planet doesn't do this natively, but the hack was pretty trivial. Building a filter for FeedWordPress would be pretty simple if the syndicated_post action was fired in reverse order. As it is, this is a little bit challenging.

I'd like to be able to filter

I'd like to be able to filter out links if the titles contain certain key words. Is this possible?

Would be really useful.

"I am working on version 0.99

"I am working on version 0.99 of FeedWordPress, which I hope to release sometime in the next couple weeks."

Its been a couple of months? Any word on the release and will this now be compatible with 2.2

Yes I do infact use the

  1. Yes I do infact use the filters.
  2. I use them to stick posts coming from feeds into the same categories that their feed links are in.
  3. No, but I don't think I know about those globals. I'll check 'em out.
  4. Wordpress 2.1.3 and FWP .981

Thanks for the awesome work.

Hey, a great way to build a

Hey,

a great way to build a filter without the need to code php is a yahoo pipe like feed filter system. Yo

thx for feeding me! :)

I use feedwordpress with wpmu

I use feedwordpress with wpmu 1.2.3, with feedwordpress.php installed in the wp-content/mu-plugins directory.

I want to filter by category and also add additional meta data when certain feeds come in.

Thanks, Martin.

PS. Your link of

PS. Your link of "Documentation of these hooks" pointing to http://projects.radgeek.com/feedwordpress/use#plugin-api is dead.

How about using a wiki for maintaining your documentation?

And just as if I was trying

And just as if I was trying to make the point (I'm not) that being able edit the past would be a good thing, here's my 4th comment in 2 days.

I found your somewhat hidden example of to how to code a filter:

http://projects.radgeek.com/2005/03/30/feedwordpress-09/

To write filters you'd not need to be an administrator (20% of wp users, 1% of wpmu users) but also a reasonably competent coder (less than 10% of the administrators) as well.

It would be nice to have a user interface to write filters, even if its just simple ones.

http://projects.radgeek.com/f

I can't get this to work at

I can't get this to work at all in Wordpress 2.2.

I might be doing something wrong. Has anyone had success getting this to work in WP 2.2?

If not, I may need to fins another option for embedding RSS feeds into posts on my blog.

Thanks, Josh

Excuse the ignorance however

Excuse the ignorance however I am struggling to get my head around the whole concept.

I have found a nice feed that provides plenty of content including the occasional image or video (they display in the feed) yet all I can achieve is the title, link, date and internal category all done beautifully (thank you for that) but where does the content of the post disappear to?

Yes..I'm trying to write a

Yes..I'm trying to write a content rewriter to work with FWP.

For every feed coming in I want to be able to rewrite particular words. Wp O' Matic does this, but that plugin is a disaster over all.

The rewrite function would be the ultimate SEO feature for FWP.

BT

Is there a way to strip links

Is there a way to strip links from the description of the feed? I need to feed one of my blogs to another blog but don't want any links to show up, how can this be done?

any news on this? i need the

any news on this? i need the image caching..

quote: One of my other short-to-medium term projects for FWP is to revamp the website to include better and more up-to-date documentation, along with some example scripts, especially some scripts that implement commonly-requested features like local image caching or excerpting of posts.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <q> <u> <b> <i> <sup> <sub> <span> <abbr> <acronym> <ul> <ol> <li> <dl> <dt> <dd> <h2> <h3> <h4> <h5> <h6> <div> <pre> <blockquote> <img> <br> <hr> <p>
  • Easily link to terms in various wikis. For help, see <a href="/interwiki/1">interwiki</a>.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].

More information about formatting options

Site License