Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Magpie problems

Not showing anything



4:43 am on May 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Magpie seems like a cool program - except for the fact it doesn't tell you anywhere where you should define the URL of the RSS feed!

I've tried adding $url = 'www.example.com/example.xml" to the top of my php page and that didn't help. I also tried to add that to the rss_fetch.inc file with no success either.

Can anyone tell me where to define the URL of the feed?


11:26 pm on May 23, 2005 (gmt 0)

10+ Year Member

leave the fecth.inc file alone.

On the file that you want your feed to be on simply paste in this:

require_once 'rss_fetch.inc';
$url = 'http://search.msn.com/results.aspx?q=grand+canyon&format=rss&FORM=ZZRE';
$rss = fetch_rss($url);
foreach ($rss->items as $item ) {
$title = $item[title];
$url = $item[link];
$desc = $item[description];
echo "<a href=$url>$title</a><br>$desc<P>\n";





Featured Threads

Hot Threads This Week

Hot Threads This Month