Mark Pilgrim has announced the Universal Feed Parser 3.0 [dive into mark]. There is a new home page, loads of documentation and apparently 2000 unit tests.
I would have thought that this is powerful enough to make it worthwhile including python in almost any news aggregator simply to be able to use this feed parser.
It is also a pretty spiffy example of the beauty and powr of python with the simplest api imaginable.
Look at this example of use within the Python interpreter
>>> import feedparser
>>> d = feedparser.parse('http://feedparser.org/docs/examples/atom.xml')
>>> d['feed']['title']
u'Sample Feed'

Comments