Jump to content

Scrolling Feed Magpie RSS


tidalwave

Recommended Posts

Hey gang I am new here, looking for a little help.

 

The page in question is here: http://www.greenlivinggoddess.com/media.php

 

If you look at my right nav panel you will notice this is another php file, wherein I am using magpie rss, and php code to show my latest posts from my blog in a scrolling fashion. I cant figure out why its broken and no longer working(I suspect it has to do with moving my blog from theglgblog.com to this current location of www.greenlivinggoddess.com/wordpress. Can someone please help me out. Here is the code in the file directly related to this :

 

<marquee behavior="scroll" direction="up" loop="-10" scrollamount="1"><?php require('rss_fetch.inc');

$myurl="http://www.thegreenlivinggoddess.com/wordpress/";

$rss = fetch_rss($myurl);

        $ct=0;

foreach ($rss->items as $item ) {

          $title = $item[title];

          $desc = $item[description];

          $url  = $item[link];

          echo '<li><a href="'.$url.'" title="'.$desc.'">'.$title.'</a></li>';

          if($ct==6) break;

          $ct++;

}?></marquee>

Link to comment
https://forums.phpfreaks.com/topic/156297-scrolling-feed-magpie-rss/
Share on other sites

I thought so too, as it use to on the old blog, but this wordpress that I set up on our own site , when you go to the comment rss option on the lower right of the blog page which is here: http://www.greenlivinggoddess.com/wordpress it has the same url on the rss feed page which seems wierd to me

 

THanks by the way for the help

FIXED-here is what i figured out to help others who may run into same issue...if you move or import another blog format into Wordpress you have to make at least one post for this rss feed parser to work and update the address it points to, after you install a plugin like feedburner to publish your feeds...hope this helps

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.