Welcome to WebmasterWorld Guest from 54.205.20.160

Forum Moderators: bill & werty

Message Too Old, No Replies

Magpierss installation

   
8:28 pm on Mar 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Everyone,

Can anyone please tell me how to install Magpierss and in which file/how to configure RSS settings etc?
Readme has a very little information

I have tried to insert this into my php file
require_once(rss_fetch.inc);
$url = $_GET['url'];
$rss = fetch_rss( $url );

echo "Channel Title: " . $rss->channel['title'] . "<p>";
echo "<ul>";
foreach ($rss->items as $item) {
$href = $item['link'];
$title = $item['title'];
echo "<li><a href=$href>$title</a></li>";
}
echo "</ul>";

but got this error

Warning: MagpieRSS: fetch_rss called without a url in /home/htdocs/web1/html/domain.com/magpierss/rss_fetch.inc on line 238

6:44 am on Mar 24, 2006 (gmt 0)

10+ Year Member



hi there,

I'm a real newbie to RSS and I don't understand what's your problem. But, I find this tread very usefull to me. May be you can try it out and see whether it helps anot.

[webmasterworld.com...]

All the best

lowkei

8:21 pm on Mar 27, 2006 (gmt 0)

10+ Year Member



$url = $_GET['url'];

This line in your code means you have to call the script with a valid url-paramter, e.g. like
[yourdomain.com...]

Did you do this? Instead passing the parameter with GET you could add the desired feed URL right in the script using

$url = "http://rss.news.yahoo.com/rss/topstories";

12:13 am on Mar 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep,thanks for help