It's better when it's simple

User Tools

Site Tools


Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community

Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy


SimplePie RSS Parser

DokuWiki uses the SimplePie library to parse RSS and Atom feeds.

Please refer to the excellent documentation on how to work with SimplePie. To use the library in DokuWiki access it through the FeedParser subclass of SimplePie. It offers the same functionality as the original library but is configured to use DokuWiki's own HTTPClient library.


Here's a simple example to print feed item titles:

$feed = new FeedParser('');
echo '<ul>';
foreach ($feed->get_items() as $item){
    echo '<li>'.$item->get_title().'</li>';
echo '</ul>';
devel/simplepie.txt · Last modified: 2015-02-09 00:22 by