PDA

View Full Version : Displaying gAjax RSS Feeds Displayer



mricklefs21
05-28-2008, 04:10 PM
1) Script Title: gAjax RSS Feeds Displayer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem: http://coonvalleytelco.com/new/

The above link is the site I'm working on.. I want to use 3 seperate rss feeds on that single page.. one for local news, world news, and sports news.. But when i try using it in the two spots local and world news it displays correctly in firefox but I get nothing in internet explorer. Anyone have any ideas or suggestions? Let me know please..

ddadmin
05-28-2008, 08:16 PM
A couple of problems I see on your page. Firstly, somewhere midway in your page's source, you have:


<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAUgFqsP3res7_yEJpQY3ErBRzKEuHzEGVY-KO6DfEedXmegtBaRQ9Ke_2tX0aaE52j8uFM2zgPnLxEg"></script>

<script type="text/javascript" src="http://www.coonvalleytelco.com/script/gfeedfetcher2.js"></script>

<script type="text/javascript" src="http://www.coonvalleytelco.com/script/gajaxticker.js">

/***********************************************
* gAjax RSS Ticker- (c) Dynamic Drive (www.dynamicdrive.com)
* Requires "gfeedfetcher.js" class
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

That should be removed. This code is already added to the HEAD section of your page, and should never be duplicated again.

Secondly, for each instance of the gAjax Feed, the variable name should be unique. In your second instance, you have:


<script type="text/javascript">

var newsfeed=new gfeedfetcher2("example3", "example3class", "_new")
newsfeed.addFeed("Iowa News", "http://rss.cnn.com/rss/cnn_world.rss") //Specify "label" plus URL to RSS feed
newsfeed.displayoptions("snippet") //show the specified additional fields
newsfeed.setentrycontainer("p") //Display each entry as a paragraph
newsfeed.filterfeed(2, "date") //Show 8 entries, sort by date
newsfeed.init() //Always call this last

</script>

"newsfeed" in this case needs to be changed to a different variable name, as it's already used in your first instance above it.

eclipse
09-23-2008, 10:50 AM
hi,

ours is the opposite.. it works on all browsers.. except on Firefox or Netscape.. :( :confused:

we've been trying to fix it... but nothing seems to work.. please kindly help us.

here's the link to the site:
http://www.property-system.com/
( Deep's insight box )

we would really appreciate any help.

thank you, and have a nice day.

great work by the way! i love your scripts here! :)