Subscribe to
NSLog(); Header Image

PHP RSS Parser

For a few years now, The Sand Trap has used MagpieRSS ((I'm not even going to link to it.)) to handle a few of the RSS feeds on the site. In recent months, it's been acting very flaky.

A few weeks ago, I searched for some PHP XML processors. Most seemed to involve PEAR and libraries and whatnot. Phooey, I said. Today I was pointed at SimplePie, and it works wonderfully. I'm going to give it a week or two to run and, if I don't see any problems, I intend to donate.

Thanks, Jesper.

3 Responses to "PHP RSS Parser"

  1. Does it support any XML or just RSS/Atom?

  2. [quote comment="44874"]Does it support any XML or just RSS/Atom?[/quote]

    I can answer you by quoting their site:

    SimplePie is designed to specifically parse RSS and Atom feeds, not raw XML.

  3. Thanks. They had a link to a nice package to do other raw XML files: