RSS/Atom parsing libraries for Ruby?

Anything close to the excellent http://feedparser.org?

--Jonas Galvez

Jonas Galvez wrote:

Anything close to the excellent http://feedparser.org?

Try

http://www.ruby-doc.org/stdlib/libdoc/rss/rdoc/

James

···

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

James Britt wrote:

www.ruby-doc.org/stdlib/libdoc/rss/rdoc/

Thanks, looks very good, except it doesn't handle Atom.

--Jonas Galvez

Another question is how liberal the parser is. The world is jam-packed full
of malformed feeds. It might be interesting to see how hard it would be to
port Mark's ultra-liberal feed parser to Ruby, which does support Atom (and
RSS and CDF).

···

On 7/12/05, Jonas Galvez <jonasgalvez@gmail.com> wrote:

James Britt wrote:
> www.ruby-doc.org/stdlib/libdoc/rss/rdoc/<http://www.ruby-doc.org/stdlib/libdoc/rss/rdoc/&gt;

Thanks, looks very good, except it doesn't handle Atom.

--Jonas Galvez

--
Brad Wilson
http://www.dotnetdevs.com/
http://www.agileprogrammer.com/dotnetguy/

"Big-endian byte ordering, while not wrong, is morally indefensible."
- Shawn Van Ness

Jonas Galvez wrote:

James Britt wrote:

www.ruby-doc.org/stdlib/libdoc/rss/rdoc/

Thanks, looks very good, except it doesn't handle Atom.

Or RSS 0.9, or RSS 2.0 with extended Dublin Core, or RSS 2.0 with extensions unless you turn off validation.

I was working on documenting RSS (the library) recently, and in my view it's really not very good for parsing. It also seems rather un-Ruby-like in not providing a single API for all kinds of feed.

mathew