RSS problems
-
Simply put, the fetch_rss() function is failing silently and I’m not sure how to find out why ??
The url ‘https://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('https://ma.gnolia.com/rss/lite/people/barryprice');
if ( isset($rss->items) && 0 != count($rss->items) )
{
print "yes";
}
else
{
print "no";
}
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘RSS problems’ is closed to new replies.