Powerful open source RSS and Atom feed parsing library for PHP
What are commonly referred to as RSS feeds come in many flavours, including several versions of RSS itself (not all of which bear a clear resemblance to one another) and Atom (a format built on the foundations of RSS but technically independent of it). That's an awkward state of affairs and presents a problem for anyone looking to build an application that consumes feeds: you either have to handle numerous variations, or sacrifice a wide range of potential content by only supporting a subset.
To help resolve that dilemma for PHP programmers we built a general purpose feed parsing library called XMLFeedParser. Distributed as part of the PEAR project which collects together a wide range of useful PHP code, XMLFeedParser presents programmers with a unified interface to the various types of feeds in a similar way to the excellent Universal Feed Parser for python.
In the years since its release XMLFeedParser has seen many thousands of downloads and widespread use by many programmers. It was also an excellent way to develop a detailed understanding of the various RSS specifications and PHP's XML handling tools.
With other projects taking our attention, we handed over the reins on the project to the wider PEAR community in late 2008, but continue to keep an eye on its development and enjoy its continuing spread.
Find the library at http://pear.php.net/package/XMLFeedParser