DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:simplepie

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:simplepie [2014-04-08 15:40]
212.144.36.154
devel:simplepie [2015-02-09 00:22] (current)
82.238.146.65 [Example]
Line 13: Line 13:
  
 $feed = new FeedParser('http://feedproxy.google.com/splitbrain'); $feed = new FeedParser('http://feedproxy.google.com/splitbrain');
-echo '<li>';+echo '<ul>';
 foreach ($feed->get_items() as $item){ foreach ($feed->get_items() as $item){
     echo '<li>'.$item->get_title().'</li>';     echo '<li>'.$item->get_title().'</li>';
 } }
-echo '</li>';+echo '</ul>';
 </code> </code>
devel/simplepie.txt ยท Last modified: 2015-02-09 00:22 by 82.238.146.65