rFeedParser is a translation of Mark Pilgrim’s Universal Feed Parser
http://feedparser.org from Python to Ruby. It has nearly the exact
behavior. It’s functionality documentation applies to this work.
Currently, on a Ubuntu GNU/Linux box, it passes 98.8% of the over 3000
unit tests originally created for Mark’s feedparser. On a Mac box with
1.8.6, this drops down to 97.7%.
It is a bit of mess to get installed. The gems take care of most
everything, but you will need Yoshida Masotos Ruby bindings to the Expat
library, and, of course, the Expat XML parser.
More information can be found at the rubyforge site:
I’d like to thank Sam Ruby for his idea of pirate testing. I’ve
extended it beyond the bare bones implementation he gave there and
that inspiration, I would not have down this at all.
Anyone who wishes to help code this is asked to look in at
rfeedparsertest.rb and at how the test files themselve are written in
wellformed/, illformed/ and their subdirectories. (For the really smart
you, yes, rfeedparserserver.rb needs to be folded into
Would you like to do it?). Also, bzr branches can be found on my
To anyone who has been monitoring this project on rubyforge or saw the
earlier malformed announcement, sorry for the spam tonight. My sleep
deprivation kicked in and caused some problems.
 http://www.yoshidam.net/Ruby.html#xmlparser Be sure to patch line
in saxdriver.rb by placing “return” in front of stream. I’ve made a gem
xmlparser, but have not yet made it work on Mac OS X. You can grab it
 http://expat.sourceforge.net/ This is available in macports as
as in Ubuntu/Debian and the other assorted Linuxes. Be sure to get the