Using Magpie RSS

MagpieRSS is a php-package that can be used to convert feeds from RSS to HTML. It's already been installed on the GC webserver, and here's an example of what you can do with it....

<?
require_once 'magpierss/rss_fetch.inc';
$url = 'http://www.goleafs.net/gcsports.xml';
$rss = fetch_rss($url);

print "Site: ". $rss->channel['title']. "<br>
";

foreach ($rss->items as $item ) {
$title = $item[title];
$url = $item[link];
$description = $item[description];
print "<a href=$url>$title</a></li><br>$description<br><br>
";
}
?>

channel['title']. "
"; foreach ($rss->items as $item ) { $title = $item[title]; $url = $item[link]; $description = $item[description]; print "$title
$description

"; } ?>