Results 1 to 2 of 2

Thread: Advanced RSS Ticker (Ajax invocation)

  1. #1
    Join Date
    Sep 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced RSS Ticker (Ajax invocation)

    1) Script Title: Advanced RSS Ticker (Ajax invocation)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ajax/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...

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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/...dge.php?id=CWA Take a look at the <link> tags- they're empty and missing the opening tags.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •