3 #echo "Warnings and Notices<p>";
4 #ini_set('display_errors', 1);
6 // define path to Magpie files
8 define('MAGPIE_DIR', './');
9 require_once(MAGPIE_DIR
.'rss_fetch.inc');
11 define('MAGPIE_DEBUG', 2);
12 // flush cache quickly for debugging purposes, don't do this on a live site
13 define('MAGPIE_CACHE_AGE', 2);
16 $url = "http://peanut/~dcoombs/nitlog/rss.php";
18 $rss = fetch_rss( $url );
20 echo "</p><p>RSS Information</p>";
21 echo "<p><b>Displaying RSS:</b> $url";
24 echo ("Error: " . magpie_error() );