DHD Wohin fährt der Strafvoll-Zug?

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”

Informationen zum Artikel

  • Erstellt am 26.Jul 2009 um 16:11 Uhr

Kommtentare, Trackbacks:

Kommentar hinterlassen

Maximum 3 links per comment. Do not use BBCode.

* Pflichtfeld. Kommentare unangemessenen Inhalts und/oder mit vielen Links werden moderiert.