Results 1 to 8 of 8

Thread: gAjax RSS Feeds Displayer - feed sometimes linked to wrong label

  1. #1
    Join Date
    Jul 2007
    Location
    Amsterdam NL
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default gAjax RSS Feeds Displayer - feed sometimes linked to wrong label

    1) Script Title: gAjax RSS Feeds Displayer

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

    I used the script (example 2) in this page: http://www.thaumas.nl/dagacties/indexex.htm and tested it in Opera and IE7.

    I sorted by label and in both Opera and IE the labels are alphabetically listed. So that's okay, but the strange thing is that in IE - after refreshing the page - the feeds seem to wander around, now and then linking to the wrong label.

    So the labels stay alphabetically listed, but the feeds are listed in a different order after several refreshes.

    - I didn't edit the gfeedfetcher.js

    - The code of the html-page:

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script type="text/javascript" src="http://www.google.com/jsapi?key=filled in the right api code here">
    </script>
    
    <script type="text/javascript" src="gfeedfetcher.js">
    
    /***********************************************
    * gAjax RSS Feeds Displayer- (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    </script>
    
    <style type="text/css">
    
    .labelfield{ /*CSS for label field in general*/
    color:brown;
    font-size: 90%;
    }
    
    .datefield{ /*CSS for date field in general*/
    color:gray;
    font-size: 90%;
    }
    
    #example1 li{ /*CSS specific to demo 1*/
    margin-bottom: 4px;
    }
    
    #example2 div{ /*CSS specific to demo 2*/
    margin-bottom: 5px;
    }
    
    #example2 div a{ /*CSS specific to demo 2*/
    text-decoration: none;
    }
    
    #example3 a{ /*CSS specific to demo 3*/
    color: #D80101;
    text-decoration: none;
    font-weight: bold;
    }
    
    #example3 p{ /*CSS specific to demo 3*/
    margin-bottom: 2px;
    }
    
    code{ /*CSS for insructions*/
    color: red;
    }
    
    </style>
    </head>
    
    <body>
    
    <h3>Example 2: (Two RSS feeds, 6 entries, "<code>label"</code>, "<code>datetime</code>", and "<code>snippet</code>" fields enabled, sort by <code>label</code>)</h3>
    
    <script type="text/javascript">
    
    var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
    socialfeed.addFeed("1DayFly", "http://www.1dayfly.nl/rss.asp") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("Dagactie", "http://www.dagactie.nl/dagactie.xml") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("Hotbrandz", "http://www.hotbrandz.com/feed") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("iBOOD", "http://www.ibood.com/site/nl/ibood.xml") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("MassaIsKassa", "http://www.massaiskassa.nl/rss/massaiskassa.php") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("Nobisbrand", "http://www.nobisbrand.com/rss") //Specify "label" plus URL to RSS feed
    socialfeed.displayoptions("label datetime snippet") //show the specified additional fields
    socialfeed.setentrycontainer("div") //Display each entry as a DIV
    socialfeed.filterfeed(6, "label") //Show 6 entries, sort by label
    socialfeed.init() //Always call this last
    
    </script>
    
    <br /><br />
    
    
    
    </body>
    </html>
    Thanks in advance for looking at this.

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

    Default

    I've confirmed the problem, but haven't quite tracked down the cause yet. My guess is it has something to do with Google's caching of he RSS feeds, but regardless, unfortunately I don't have a solution right now, and will have to get back to it once I have some time.

  3. #3
    Join Date
    Jul 2007
    Location
    Amsterdam NL
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I like the simple way the script can be used in the html page, so I'll keep an eye on it. Take your time of course. Thanks very much for doing all this.

  4. #4
    Join Date
    Jul 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there any chance you've found a solution to this? I am having the exact same problem with my labels -- sometimes (seemingly randomly and relatively often) the labels appear with the wrong feeds...

    My website can be found here (www.whitnall.com) and I'm using your script (which is fantastic btw!) to power our school district's news tickers.

    I'm also hoping you might be able to help me with another thing, I can't seem to get any Feedburner feeds to work with the script! I've also tried Yahoo Pipes and other feed aggregators and filters, none seem to work. Here's an example: http://www.whitnall.com/technology.cfm

  5. #5
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think this script is the best aggregator out there, so this IE bug really has me down in the dumps. I'm using it here: http://www.ffgeekblog.com/ffgeeksource/

    Works beautifully in every browser but IE, in which the names of the blogs get all messed up.

    Would be very happy to hear that a solution had been cooked up.

  6. #6
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default gAjax RSS Feeds Displayer (wandering feeds)

    Has anyone had any luck figuring out the "wandering feeds" issue with gAjax? I currently have four feeds filtering in, all of which seem to be working fine with the exception of labels appearing with the wrong links when refreshed.

    Thanks.

  7. #7
    Join Date
    Apr 2010
    Location
    New York
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am having the save switching label problem, but its only in Safari and Chrome has there been any updated on solving this issue?

    Here is an example: http://www.newschool.edu/parsons/subpage.aspx?id=27324

    cb

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

    Default

    Ok, I've finally had some time to really look into the problem, which was a timing issue in IE that caused the incorrect label to sometimes be associated with the feeds. The problem should be fixed now. Only the .js file has been modified.
    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
  •