Simply put, the fetch_rss() function is failing silently and I'm not sure how to find out why :-(
The url 'http://ma.gnolia.com/rss/lite/people/barryprice' is an RSS feed of my latest links on ma.gnolia.com (like del.icio.us but different :-)
The following code prints "no", which is a surprise because the feed parses fine with other methods, eg. PHP5's DOM parser. I need to get this working on a PHP4 server though - any ideas?
require_once(ABSPATH . WPINC . '/rss-functions.php');
$rss = fetch_rss('http://ma.gnolia.com/rss/lite/people/barryprice');
if ( isset($rss->items) && 0 != count($rss->items) )
{
print "yes";
}
else
{
print "no";
}