WvDBusMsg::is_reply() had an unnecessary hack for message #1.
[wvapps.git] / planit / magpie_debug.php
bloba336ce8ed4e7ae369c8caec69ca8eafaee34f476
1 <?php
3 #echo "Warnings and Notices<p>";
4 #ini_set('display_errors', 1);
6 // define path to Magpie files
7 // and load library
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";
23 if ( !$rss ) {
24 echo ("Error: " . magpie_error() );
26 else {
27 $rss->show_channel();
28 $rss->show_list();