PDA

View Full Version : Advanced RSS Ticker problem



kayw
06-01-2006, 05:18 PM
I have installed this script and it is working -
http://www.cwscrop.org/rsstickerajax/demo.htm

However, when I tried to call up our RSS feed, I get an error message -
http://www.cwscrop.org/rsstickerajax/lastrss/bridge.php?id=CWS

I checked and our RSS feed validates, so that is not the problem. Can someone help?
Thanks, Kay

ddadmin
06-01-2006, 08:03 PM
The error simply means the script cannot find the RSS feed in question. Make sure inside bridge.php where you specify the URLs to your feeds, that the entry with "CWS" as the array key exists, similar to "CNN."

kayw
06-01-2006, 08:29 PM
Thanks, but I did list an array for CWS - this is what I have now:

// List of RSS URLs
$rsslist=array(
"CNN" => "http://rss.cnn.com/rss/cnn_topstories.rss",
"CWS" => "http://www.churchworldservice.org/news/news-releases.rdf",
"news.com" => "http://news.com.com/2547-1_3-0-5.xml",
"slashdot" => "http://rss.slashdot.org/Slashdot/slashdot",
"dynamicdrive" => "http://www.dynamicdrive.com/export.php?type=new"
);

ddadmin
06-01-2006, 09:51 PM
Are you sure http://www.churchworldservice.org/news/news-releases.rdf is a valid RSS/XML file? Try viewing the file in Firefox, and you'll see it doesn't get rendered as a standard XML tree document, unlike the other "valid" RSS feeds.

kayw
06-03-2006, 11:56 AM
I didn't know that was an issue, I used the Firefox web developer toolbar, ("Validate Feed") and it passed validation. So even though it passed validation it is still malformed?
Kay

ddadmin
06-05-2006, 07:11 AM
Hmmm strange then. Can you attach the actual bridge.php file here? You'll need to rename it with a .txt extension in order to be able to attach it here on the forums.

kayw
06-05-2006, 12:42 PM
Here it is - appreciate the help - Kay364

ddadmin
06-05-2006, 11:49 PM
Ah I suspected that was the problem. Inside your bridge.php file, you don't actually have a RSS definition for CWS! In other words, there's no:


"CWS" => "http://www.churchworldservice.org/news/news-releases.rdf",

That's why the script outputs the error "can't find RSS feed..."