PDA

View Full Version : Advanced RSS Ticker (Ajax invocation)



Beezie
09-28-2006, 03:23 AM
1) Script Title: Advanced RSS Ticker (Ajax invocation)

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

3) Describe Problem: I've installed the scripts and demo and have them working on my web server. I've created an rss feed and can subscribe to using newsgator. However, I cannot get the ticker to display the information from my feed.

Other Info

Demo locations:
http://www.climbingwallindustry.org/rss/demo.htm
http://www.climbingwallindustry.org/rss/demo3.htm

All scripts, htm, and xml files on same level of directory (cache chmodded 777, one level below)

code from demo: <script src="rssticker.js" type="text/javascript">

code from demo3: <script src="rssticker.js" type="text/javascript">

and

document.write("CWA News:")
new rssticker_ajax("CWA", 1200, "cnnbox", "cnnclass", 5000, "Title+date+description")

code from jsticker.js:

//Relative URL syntax:
var lastrssbridgeurl="bridge.php"

code from bridge.php"

// List of RSS URLs
$rsslist=array(
"CWA" => "rss.xml",
"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"
);

I suspect the problem is with how I've defined the path to my rss feed. Any help will be appreciated.

Thank you...

ddadmin
09-28-2006, 06:28 AM
Well, demo.htm works for me, while demo3.htm does not.

The problem with the later appears to be that your own RSS feed (rss.xml) is not valid: http://www.climbingwallindustry.org/rss/bridge.php?id=CWA Take a look at the <link> tags- they're empty and missing the opening tags.