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 revisionPrevious revision
devel:simplepie [2015-02-09 00:22] – [Example] 82.238.146.65devel:simplepie [2023-09-16 00:57] (current) Klap-in
Line 10: Line 10:
  
 <code php> <code php>
-require_once(DOKU_INC.'inc/FeedParser.php'); 
- 
 $feed = new FeedParser('http://feedproxy.google.com/splitbrain'); $feed = new FeedParser('http://feedproxy.google.com/splitbrain');
 echo '<ul>'; 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 '</ul>'; echo '</ul>';
 </code> </code>
devel/simplepie.1423437778.txt.gz · Last modified: 2015-02-09 00:22 by 82.238.146.65

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki