Archiv für 26.Juli 2009

Zeige Ergebnisse 1 - 2 von 2

Jahre

Monate (2009)

RSS Aggregator

2009 26 Jul

SimplePie Logo Today I was looking for a way to aggregate multiple RSS feeds into one. After some digging I found SimplePie. It’s a small PHP library for parsing and constructing RSS feeds.

I’ve written this small PHP script here that demonstrates how to aggregate two RSS feeds. You can adopt it very easy by editing the constants at the top of the file.

To use SimplePie you have to download the package from their homepage. From this package you only need the file “simplepie.inc”. (You may also want to execute “compatibility_test/sp_compatibility_test.php” once in your browser.) Additionally a directory “cache” must be created (and writable for PHP scripts).

All put together you should end up with directory content like this:

  • rss.php (my RSS script)
  • simplepie.inc
  • cache/

Download “rss.php”

DHD

Ohne Worte ;)

DHD