-1

As the title of my question says, I am looking for a library to parse RSS/Atom feeds that is compatible with and exploits the features of PHP 5. As far as I know, both simplepie and magpie are compatible only with PHP4.

This is related to: Best way to parse RSS/Atom feeds with PHP. In that question, though, the OP doesn't impose the constraint for the library to be PHP 5 compatible.

Thanks!

Community
  • 1
  • 1
Alessandro Cosentino
  • 2,268
  • 1
  • 21
  • 30

2 Answers2

1

Look again at new versions of simplepie, its easy to use, oo and has been around since dirt. I use it and my sites are 5.3

Ray
  • 40,256
  • 21
  • 101
  • 138
1

SimplePie is PHP-5 compatible. It's PHP 4 compatibility is backwards-compatibility. In other words, if you're stuck with an old PHP 4 installation, you can still use SimplePie.

In addition, last time I looked, SimplePie will use more efficient PHP-5 methods if they are available and only fallback to PHP-4 compatibility when necessary.

danmactough
  • 5,444
  • 2
  • 21
  • 22