Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Fail to run RSS

Using "Short Guide" by Rincey



10:04 am on Aug 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Short guide available at [webmasterworld.com...]

I thought I would be able to include RSS on my website using the great tutorial from Rincey but it failed.

1/ I have include error_reporting(E_ALL); in my feed.php but get no error message.
2/ When running feed.php, it take some time to parse and when done, I get an empy HTML document.
3/ I have unslashed the print_r($rss) in feed.php but get nothing.
4/ Lastly, a file has been created in the templates_c folder, file compiled from /rssdemo/templates/itemlist.html

Any idea what may be wrong?
Thank you


12:22 pm on Aug 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

It works now. Sorry for my last message
Problem was due to firewall or connection since the script was working when creating a XML file on the server.

Thanks Rincey!


6:44 am on Sep 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

One more tip regarding Rincey tutorial [webmasterworld.com...]

You want to force magpierss to input/output UTF, use

define("MAGPIE_DETECT_ENCODING", false);

But I am still having problems to return a certain number of items. I have used the code given in Magpierss FAQ but it doesn't work

$rss = fetch_rss($url);
$items = array_slice($rss->items, 0, 3);

Any help to limit number of items using Magpiers would be very nice!


Featured Threads

Hot Threads This Week

Hot Threads This Month