Tip, Use Universal Feed Parser to tame RSS

Sometimes tools can save the day when people aren't careful about standards

From the developerWorks archives

Uche Ogbuji

Date archived: February 23, 2017 | Last updated: October 01, 2004|First published: December 10, 2004

RSS is supposed to be based on XML (or XML/RDF) standards. Unfortunately, the famous wild west community behind RSS has many renegade elements producing feeds that are not even well-formed XML. Mark Pilgrim's excellent Universal Feed Parser is a great tool for parsing even ill-formed feeds, and this tip demonstrates how to use it to extract feed data from RSS.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=32167
ArticleTitle=Tip: Use Universal Feed Parser to tame RSS
publish-date=10012004