ted serbinski – entrepreneur & web architect
  • thoughts
  • about
  • contact



Popular content

  • Awesome wallpapers!
  • How to Save and Archive Your Geocities Account (with jQuery + Firebug)
  • The US Government on Open Source
  • SimpleFeed 2.0 released
  • How to Keep a Macbook Cool
  • How to prevent duplicate posts?
  • I have left Lullabot...
  • MTV.co.uk
  • Location data with Drupal
  • SimpleFeed
more

Recent comments

  • Unfortunately this method
    2 weeks 1 day ago
  • I’m using this method to sort
    7 weeks 28 min ago
  • I was interested in reading
    8 weeks 5 days ago
  • Ah yes this code is a bit out
    12 weeks 2 days ago
  • After using the original code
    12 weeks 2 days ago
more

SimpleFeed

Out of frustration with aggregator module in core and the lack of any clean, easy to use, and easy to extend [e.g., feed api/hooks] contrib modules that parse feeds, I embarked upon a quest to build a Drupal module that did feed parsing correctly.

And with that, I’m pleased to announce SimpleFeed, which has now stabilized [e.g., no more planned major database changes, nor code shuffling] and is slated for a 1.0 release quite soon (a couple minor bugs to fix).

Here is the list of features:

  • uses SimplePie as the default feed parsing engine
  • feed hooks to alter when and how: feeds expire, feeds are parsed, and feeds are saved
  • auto-taxonomy, automatically add categories in feeds to Drupal’s taxonomy system
  • revisions support for both feeds & feed items
  • automatically delete feed items after a certain amount of time
  • optionally save specific feed items by editing their expiration time to “never”
  • edit any feed or feed item that comes in
  • manually insert feed items into feeds
  • customizable default input format for imported feeds (e.g., which tags to strip from feeds, if any)
  • feed & feed items obey default node workflow + options (e.g., set if feed items should be published by default)
  • postgres support
  • duplicate checking of both feeds & feed items
  • granular feed permissions

Additionally, that second feature about feed hooks is mostly Bill O’Connor’s [csevb10] work. Yesterday him and myself implemented his code [finally fulfilling my full vision for the module ;-)] and cleaned up a number of bugs. He is now co-maintaining SimpleFeed with me, which should really speed up bug fixes :-)

Look for an actual Drupal 5 1.0 release in the next 2-3 weeks or so. Till then please beta test and post feedback!

posted 19 Apr 2007
  • code
  • drupal
  • modules
  • rss
  • simplefeed

11 comments

#1
Caleb G wrote 3 years 19 weeks ago

Right on!

I can vouch for the brilliance of simplefeed. It’s a great step up from the aggregator module in both features and performance. A couple feeds which wouldn’t even parse in aggregator came through just fine for me in simplefeed. If there are other plans great – but Drupal 6 could do much worse than to just replace the current aggregator in core with this. :)

#2
zoon_unit wrote 3 years 19 weeks ago

How does Simplefeed differ from Leech and Feedparser? It seems that all three are duplicating many of the same features, just doing it in wildly different ways. I desperately need feed node capability, but all these options are confusing me. :-)

One other question: Can the admin choose the “author” of each feed item in the feed definition?

#3
fireang3l wrote 3 years 19 weeks ago

Well, Simplefeed actually works :) Leech and feedparser are (still) quite unstable, maybe because they try to maintain too many features. Simplefeed works perfectly, does exactly what its supposed to do and nothing more. It was a godsend for me!

#4
Gabor Hojtsy wrote 3 years 19 weeks ago

Seems like Aaron Novak will have another module to consider when comparing and consolidating feed parsing modules as part of his Google Summer of Code project in a few weeks. http://drupal.org/node/135602

#5
Robert Douglass wrote 3 years 19 weeks ago

@Gábor: yes, this almost makes Aaron’s project a bit redundant or outdated. It seems like we have a good opportunity to reconsider the scope of his project, something which I will communicate to him and his mentors.

#6
alex_b wrote 3 years 19 weeks ago

Hi Ted and everybody else in the thread,

Great to see that simplefeed is 1.0 – will check it out asap.

I don’t see Aron’s SoC project getting redundant though – Simplefeed is going to be great input (or the basis?) for finding a good extensible aggregator foundation in Drupal core.

For everybody who’s interested in this discussion: http://groups.drupal.org/node/3528

Alex

PS: Towards more modularity! Aron just broke out yahoo_terms from leech module: it is a standalone module now. It now allows you to use the yahoo terms extraction service for any kind of node – so you can use it also for simplefeed items. http://drupal.org/project/yahoo_terms

#7
dldege wrote 3 years 19 weeks ago

Can this be used to make local site feeds? For example, say you are building a site that will have multiple podcasts of its own – can feed/feed_item be used for this or is this only external aggregation?

I like the feed/feed_item metaphor vs. just having multiple feeds in Drupal based on taxonomy or user id.

#8
mistknight wrote 3 years 19 weeks ago

Well, out of frustration with the aggregator2 I created the aggregation module. Please feel free to test it and tell me what you think. It’s come a long way and is very robust and stable.

http://drupal.org/project/aggregation

Please contact me if you’re interested and let’s collaborate on something exciting!

#9
ted wrote 3 years 18 weeks ago

@zoon_unit – The author of each feed item is inherited from the owner of the feed node. There isn’t a good way to create a feed item owner since it uses Drupal’s user system and hence, you’d be creating accounts for non-existent users. However, we are working on supplying the full feed item object so you could display this at the theme level, that is coming soon.

@dldege – SimpleFeed is only for external aggregation, not for supplying feeds. That is what views + views RSS is for :-)

@mistknight – Most sure! We are open to collaboration and seems your module surfaced around the time ours did. I have not had a chance to look at yours but if you look at SimpleFeed and have ideas, perhaps we can work out a roadmap there.

Thanks for all the other kind feedback too!

#10
Slim wrote 3 years 1 week ago

I’m using Simplefeed to aggregate content at Blogotariat and I’m pretty pleased with it. I hacked the node template and a few other bits to get the items looking how I wanted them (eg link to Feed itself. So thanks very much for all your efforts.

My two wishes would be for an option to attempt to detect duplicate or updated feed items, and from the Feed view the ability to purge all related feed item nodes.

#11
ted wrote 3 years 1 day ago

Great ideas, please submit those to the issue queue: http://drupal.org/project/simplefeed

Add your comment

The content of this field is kept private and will not be shown publicly.
  • You can use Textile markup to format text.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <img> <pre>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options


Code examples and downloadable zip files of code are licensed under a Creative Commons License.
All other content, unless where noted, ©2010 Theodore Serbinski. All Rights Reserved.