create a new file just to test its all working "filename.php"
put all your code into it I've simplified it slightly ... I think this code was being included as part of another file.
Code:
<?php
require_once 'rss_fetch.inc';
$url = 'http://news.bbc.co.uk/rss/newsonline_uk_edition/northern_ireland/rss091.xml';
$rss = fetch_rss($url);
echo "Site: ", $rss->channel['title'], "<br>\n";
foreach ($rss->items as $item ) {
$title = $item[title];
$url = $item[link];
$description = $item[description];
echo "<a href=$url>$title</a><br>$description</li><br>\n";
}
?>
once you know this is working ...
anywhere you want this to appear you could just put the code
<?PHP include "filename.php"; ?>