ini_set("include_path", '/home/path_to_include_folder/xmlrss/' . PATH_SEPARATOR . ini_get("include_path"));
require_once 'RSS.php';
$rss_feed = 'http://www.php.net/news.rss';
$rss =& new XML_RSS($rss_feed);
$rss->parse();
print "\n";
foreach($rss->getItems() as $item)
{
echo "- " . $item['title'] . "
\n";
}
print "
\n";
?>