PDA

View Full Version : gAjax RSS problem - not displaying correct feed



matsp
05-08-2009, 08:06 AM
1) Script Title: gAjax RSS Feeds Displayer

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


<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_parks/cairngorms/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:


<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.

ddadmin
05-09-2009, 07:14 AM
The second link appears broken for me.