Using RSS Feeds : RSS « XML « PHP






Using RSS Feeds

 
<?php

require "XML/RSS.php";
$rss = new XML_RSS("http://php.net/news.rss");
$rss->parse();

foreach($rss->getItems() as $item) {
  print_r($item);
}
?>
  
  








Related examples in the same category