Search code examples
phprssdokuwiki

How to produce a merged RSS feed (from DokuWiki and Serendipity)


I've got an application developed on top of DokuWiki. I'd like to provide a 'News' page providing the latest updates from the internal RSS feed, some other feeds maintained in Serendipity and potentially other locations.

Although its trivial to attach feed parsers to each one individually, I'd like to aggregate this into a single list (possibly a single RSS feed).

Both the DokuWiki and Serendipity servers are not connected to the internet - so I can't use an external service for this - looking for code.

Anybody got any ideas?

TIA

C.


Solution

  • DokuWiki already comes with the SimplePie feed aggregation library so you can use that without the need for any additional libraries. Some tips on how to merge two feeds can be found in their documentation: