PDA

View Full Version : Pausing RSS scroller not finding feed



mondealenvers
05-17-2011, 06:56 PM
1) Script Title: Pausing RSS Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/index.htm

3) Describe problem: I keep getting the following error: "Error: Can't find requested RSS in list. I give up trying to fetch RSS feed."

Ideally, there should be three feeds that come into one window. Reading your support forums, I believe I have included all of the relevant js and php files with the correct paths, but then again.... Clearly, I'm doing something wrong.

Here is the hidden page:

http://www.jvp-boston.org/newsx.html

Thank you. Sandrine

ddadmin
05-18-2011, 07:10 AM
The IDs of the RSS feeds you've entered into the script's initialization code is incorrect, for example:


new rsspausescroller("cnn", "pscroller1", "rssclass", 3000, "_new")

The ID in this case is "cnn", but looking up the corresponding feed directly returns an error:

http://www.jvp-boston.org/lastrss/scrollerbridge.php?id=cnn

Inside scrollerbridge.php, check the IDs you've defined again for each of your feeds, and use them inside the script's initialization code to properly reference them.

mondealenvers
05-21-2011, 03:03 PM
Thanks for looking; was out of town and unable to respond till now.

Question: Do the names of the RSSids need to be in all lower case?

In the case of rsspausescroller1, I have matched the names in all lower case and it still doesn't work.

$rsslist=array(
"theonlydemocracy" => "feed://theonlydemocracy.org/feed/",

and on the html page:

new rsspausescroller("theonlydemocracy", "pscroller1", "rssclass", 3000, "_new")


GOING CRAZY with this. ANy help would be appreciated.

ddadmin
05-21-2011, 08:28 PM
Hmm if I try and request the RSS feed with id "theonlydemocracy" now, ie:

http://www.jvp-boston.org/lastrss/scrollerbridge.php?id=theonlydemocracy

I get the error "It's not possible to reach RSS file feed://theonlydemocracy.org/feed/". It's possible the URL method you're using to point to it isn't supported by the RSS parser of the script for whatever reason. Instead of:


$rsslist=array(
"theonlydemocracy" => "feed://theonlydemocracy.org/feed/",

What if you changed it to:


$rsslist=array(
"theonlydemocracy" => "http://theonlydemocracy.org/feed/",

mondealenvers
05-22-2011, 03:44 AM
I have rebuilt it here, clumsily. Thanks for all your help.

http://www.jvp-boston.org/newsx.html

Two burning questions now arise.

1. Can one integrate several feeds into one scroller window?

2. In pausescroller #2, how does one keep the title and para body separated? How to better fit scrolling text in window?

Thank you so much.