Recommended library for parsing RSS and Atom feeds

R

Richard Conroy

[Note: parts of this message were removed to make it a legal post.]

Hi,
I am looking to sort through the various options for processing RSS/Atom
feeds in Ruby.
I did some basic research, and FeedTools looks like the incumbent option,
though many (old)
blog posts warned that it is only minimally maintained (if at all).
FeedZirra looks very popular,
has been recommended here, and activity is pretty high.

Does anyone have a complete list of all the library options? ( a link to a
roundup article/blog post
would be great)
Does anyone have a particular favourite? Why you prefer it over other
options?

Posting links to reasonably up to date articles would be best. Google
searches are turning up
older articles predominantly, and thats not a good sign IMO.

High on my list of features is:
- Heroku compatibility.
- Easy to use in a way that respects the feeds source
- Allows me to treat RSS/Atom the same

regards,
Richard
 
I

Intransition

Hi,
=A0 =A0I am looking to sort through the various options for processing RS= S/Atom
feeds in Ruby.
I did some basic research, and FeedTools looks like the incumbent option,
though many (old)
blog posts warned that it is only minimally maintained (if at all).
FeedZirra looks very popular,
has been recommended here, and activity is pretty high.

Does anyone have a complete list of all the library options? ( a link to = a
roundup article/blog post
would be great)
Does anyone have a particular favourite? Why you prefer it over other
options?

Posting links to reasonably up to date articles would be best. Google
searches are turning up
older articles predominantly, and thats not a good sign IMO.

High on my list of features is:
- Heroku compatibility.
- Easy to use in a way that respects the feeds source
- Allows me to treat RSS/Atom the same


Nokogiri, LibXML-Ruby, REXML

I've been down the road of creating a parser for these and, in my
experience, it turns out to be a YAGNI, because an XML parser works
well enough.
 
R

Richard Conroy

[Note: parts of this message were removed to make it a legal post.]

Nokogiri, LibXML-Ruby, REXML

I've been down the road of creating a parser for these and, in my
experience, it turns out to be a YAGNI, because an XML parser works
well enough.
A bit low level aren't they? Don't really want to get my hands too dirty
with Schema formats etc. Want something that is simple enough to
use and has respectable performance (which won't be the case with
anything I hand-write).
Thanks for the feedback.
Richard
 
J

Jeremy Hinegardner

A bit low level aren't they? Don't really want to get my hands too dirty
with Schema formats etc. Want something that is simple enough to
use and has respectable performance (which won't be the case with
anything I hand-write).

There are several listed at ruby-toolbox.com:

http://www.ruby-toolbox.com/categories/rss_feed_parsing.html

I've heard good tings about feedzirra (the top listed there) although
I have not used it personally. There was a bit of buzz about it last
year.

enjoy,

-jeremy
 
W

Walton Hoops

Hi,
I am looking to sort through the various options for processing RSS/Atom
feeds in Ruby.
I did some basic research, and FeedTools looks like the incumbent option,
though many (old)
blog posts warned that it is only minimally maintained (if at all).
FeedZirra looks very popular,
has been recommended here, and activity is pretty high.

Does anyone have a complete list of all the library options? ( a link to a
roundup article/blog post
would be great)
Does anyone have a particular favourite? Why you prefer it over other
options?

Posting links to reasonably up to date articles would be best. Google
searches are turning up
older articles predominantly, and thats not a good sign IMO.

High on my list of features is:
- Heroku compatibility.
- Easy to use in a way that respects the feeds source
- Allows me to treat RSS/Atom the same

regards,
Richard
The RSS reader in the Ruby Standard Libs supports Atom as well:
http://www.ruby-doc.org/stdlib/libdoc/rss/rdoc/index.html

It is essentially undocumented, but there are some examples at:
http://www.cozmixng.org/~rwiki/?cmd=view;name=RSS+Parser::Tutorial.en
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top