Results 1 to 3 of 3

Thread: Displaying gAjax RSS Feeds Displayer

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Displaying gAjax RSS Feeds Displayer

    1) Script Title: gAjax RSS Feeds Displayer

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

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

    Default

    A couple of problems I see on your page. Firstly, somewhere midway in your page's source, you have:

    Code:
    <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:

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

  3. #3
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi,

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

    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!

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
  •