Welcome to WebmasterWorld Guest from 220.127.116.11
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?
You want to force magpierss to input/output UTF, use
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!