Results 1 to 2 of 2

Thread: gAjax RSS problem - not displaying correct feed

  1. #1
    Join Date
    Sep 2007
    Location
    Buckinghamshire, England
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default gAjax RSS problem - not displaying correct feed

    1) Script Title: gAjax RSS Feeds Displayer

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

    3) Describe problem: Hi. I have been using this script for ages, and have no problems with the pages i've created before, but am having a problem that's driving me loopy creating new ones.

    I've made one page with some rss news on it (http://www.withnature.co.uk/national_parks/index.php) the code to which looks like:

    Code:
    <script type="text/javascript">
    
    var socialfeed=new gfeedfetcher("example3", "example3class", "_new")
    socialfeed.addFeed("National Parks Official News", "http://www.nationalparks.gov.uk/rssnews.xml")
    socialfeed.displayoptions("datetime snippet") //show the specified additional fields
    socialfeed.setentrycontainer("p") //Display each entry as a paragraph
    socialfeed.filterfeed(6, "date") //Show 8 entries, sort by date
    socialfeed.init() //Always call this last
    
    </script>
    However, i've created a second page (http://www.withnature.co.uk/national...orms/index.php) with a different feed specified and it's still showing the feed from the page i've just mentioned (in all browsers after numerous refreshes), the code for this page looks like:

    Code:
    <script type="text/javascript">
    var socialfeed=new gfeedfetcher("example3", "example3class", "_new")
    socialfeed.addFeed("Google News", "http://news.google.com/news?pz=1&ned=us&hl=en&q=cairngorms+national+park&output=rss")
    socialfeed.displayoptions("datetime snippet") //show the specified additional fields
    socialfeed.setentrycontainer("p") //Display each entry as a paragraph
    socialfeed.filterfeed(6, "date") //Show 8 entries, sort by date
    socialfeed.init() //Always call this last
    </script>
    I can't understand why this is happening. It's not happening on the other news sections of my website. Any ideas would be greatly welcomed.

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

    Default

    The second link appears broken for me.
    DD Admin

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
  •