Results 1 to 8 of 8

Thread: Advanced RSS Ticker problem

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

    Default Advanced RSS Ticker problem

    I have installed this script and it is working -
    http://www.cwscrop.org/rsstickerajax/demo.htm

    However, when I tried to call up our RSS feed, I get an error message -
    http://www.cwscrop.org/rsstickerajax...dge.php?id=CWS

    I checked and our RSS feed validates, so that is not the problem. Can someone help?
    Thanks, Kay

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

    Default

    The error simply means the script cannot find the RSS feed in question. Make sure inside bridge.php where you specify the URLs to your feeds, that the entry with "CWS" as the array key exists, similar to "CNN."

  3. #3
    Join Date
    Jun 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, but I did list an array for CWS - this is what I have now:

    // List of RSS URLs
    $rsslist=array(
    "CNN" => "http://rss.cnn.com/rss/cnn_topstories.rss",
    "CWS" => "http://www.churchworldservice.org/news/news-releases.rdf",
    "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"
    );

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

    Default

    Are you sure http://www.churchworldservice.org/ne...s-releases.rdf is a valid RSS/XML file? Try viewing the file in Firefox, and you'll see it doesn't get rendered as a standard XML tree document, unlike the other "valid" RSS feeds.

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

    Default

    I didn't know that was an issue, I used the Firefox web developer toolbar, ("Validate Feed") and it passed validation. So even though it passed validation it is still malformed?
    Kay

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

    Default

    Hmmm strange then. Can you attach the actual bridge.php file here? You'll need to rename it with a .txt extension in order to be able to attach it here on the forums.

  7. #7
    Join Date
    Jun 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here it is - appreciate the help - KayAttachment 364

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

    Default

    Ah I suspected that was the problem. Inside your bridge.php file, you don't actually have a RSS definition for CWS! In other words, there's no:

    Code:
    "CWS" => "http://www.churchworldservice.org/news/news-releases.rdf",
    That's why the script outputs the error "can't find RSS feed..."

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
  •