View Full Version : Pausing RSS scroller/Advanced RSS Ticker (Ajax invocation)

08-17-2012, 09:38 AM
1) Script Title: Pausing RSS scroller/Advanced RSS Ticker (Ajax invocation)

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

3) Describe problem: After downloading and experimenting with both of the aforementioned scripts, I feel I must be missing the point somewhere and would like to ask if anyone can give me a bit of advice. The demo of each script works perfectly, with the pre-defined rss feeds displaying fine. The instructions for both scripts do not, in my opinion, make it clear as to where someone with only limited experience, such as myself, should make the changes necessary in order that the pre-defined rss feeds are swapped to those which the user wishes to display. After a bit of tinkering around I came to the conclusion that changes should be made in the scrollerbridge.php for the first script and in the bridge.php for the second script. However, after removing just a couple of the predefined rss urls and replacing them with those of my choice, the demo now says that it cannot find the rss feeds and that it has given up trying! From this I guess that I must be doing something wrong, but as the predefined rss feeds work perfectly, and all I am doing is swapping them out for those of my own choice, which I know are good feeds, I cannot see where I am going wrong. Please can anyone explain in simple terms what I should do to put this matter right - apart from me perhaps getting a new brain!:confused: Any advice or assistance gratefully received.

08-17-2012, 02:06 PM
If all you want to change are the feed addresses, these are located in the bridge files. For Advanced RSS Ticker (Ajax invocation), that's lastrss/bridge.php, for Pausing RSS scroller, lastrss/scrollerbridge.php.

Using a text only editor like NotePad, open up the file and find:

// List of RSS URLs
"CNN" => "http://rss.cnn.com/rss/cnn_topstories.rss",
"BBC" => "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml",
"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"

Change only the feed URL's (highlighted in the above). If you change any of the keys "CNN", "BBC", "news.com", "slashdot", or "dynamicdrive", then you will have to change them in the corresponding demo.htm file as well. So, to start, just leave those alone.