Results 1 to 10 of 10

Thread: Advanced RSS Ticker problem

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

    Default Advanced RSS Ticker problem

    1) Script Title: Advanced RSS Ticker

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rsstickerajax/

    3) Describe problem: Is there a limit to the size of the file you can call to be displayed by the ticker? On my website I wish to display just the title and date of weather warnings for the entire US RSS feed from the National Weather Service feed. http://www.weather.gov/alerts/us.rss . The ticker will try to initialize and never display the feed. When I use an individual state feed such as http://www.weather.gov/alerts/ne.rss all is well and the ticker works fine. The National warnings list is much larger otherwise the same. Any help appreciated.

    Thanks

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

    Default

    The likely problem is with LastRSS simply giving up after not being able to fetch the RSS feed within a certain time limit. Do you have an online example of the problem?

  3. #3
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you go to this url, http://14300.net/homescroller , you can see the ticker trying to initialize the NWS feed. If I change the feed url in the bridge.php file to another NWS feed with a shorter list of weather warnings, the ticker works fine.

    Thanks

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

    Default

    Hmm I don't immediately discern the problem, though to make it easier to debug, can you remove all the other scripts on the page first (including the <body onload=..."> event handler? I ask this because in Firefox, one of the other scripts is generating an error, which may or maynot be causing the subsequent RSS ticker to fail.

  5. #5
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try http://14300.net/tickertest , this shows the ticker working using the "state" url http://www.weather.gov/alerts/ne.rss . When I simply change the /ne.rss to /us.rss in the url in the bridge.php file to get the entire "US" warnings the ticker won't intiliatize. Should I change the bridge.php file back to "us" while you troubleshoot?

    Thanks

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

    Default

    Yes please change it fetch the RSS feed you're having trouble with.

  7. #7
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Done.

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

    Default

    Interesting, At this point I would say that the extreme size of the RSS feed is choking something, either LastRSS (the RSS script used to fetch the feed), or causing the server to time out as far as trying to fetch the remote file. If I try to directly fetch the RSS feed using the server side portion of this script, by calling:

    http://14300.net/lastrss/bridge.php?id=NWS

    in my browser, in Firefox, the entire browser basically freezes for a while before eventually successfully getting it. In IE7 however, it doesn't work at all.

    Not quite sure what other advice to dish out except suggest trying the feed on another script on DD, RSS Display Boxes. This uses a server RSS fetching script on the backend called Simplepie, which is more robust all around. If it works, then we know the issue is with LastRSS.

  9. #9
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Using RSS Display Boxes it works fine! Maybe I can come up with a compromise using this rather that the ticker.

    Thanks for your help ddadmin. Much appreciated.

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

    Default

    Ok, yet another reason to switch to Simplepie for the backend for all the current RSS scripts on DD. I'll be doing that sometime next year (wow, next year!).

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
  •