homepage Welcome to WebmasterWorld Guest from 184.73.40.21
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Magpierss installation
wmuser

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 521 posted 8:28 pm on Mar 23, 2006 (gmt 0)

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

 

Lowkei

5+ Year Member



 
Msg#: 521 posted 6:44 am on Mar 24, 2006 (gmt 0)

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

rincey

10+ Year Member



 
Msg#: 521 posted 8:21 pm on Mar 27, 2006 (gmt 0)

$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";

wmuser

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 521 posted 12:13 am on Mar 28, 2006 (gmt 0)

Yep,thanks for help

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved