bbc science/nature with PEAR packages

bbc news feed with 2 pear packages , check out pear rss example

<?php
require_once "pear/xmlrss/RSS.php";

$rss =& new XML_RSS("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/sci/tech/rss.xml");
$rss->parse();

echo "<h1>Headlines from <a href=\"http://www.bbc.co.uk\">BBC Science/Nature</a></h1>\n";
echo "<ul>\n";

foreach ($rss->getItems() as $item)
{
echo "<li><a href=\"" . $item['link'] . "\">" . $item['title'] . "</a></li>\n";
}

echo "</ul>\n";
?>