Advanced Search

Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: RSS Feed Reader (gfeedfetcher) isn't updating second feed

  1. #1
    Join Date
    Apr 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default RSS Feed Reader (gfeedfetcher) isn't updating second feed

    1) Script Title: gAjax RSS Feeds Displayer (hosted)

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

    3) Describe problem: I am using the gfeedfetcher.js script to pull two separate feeds (from two different wordpress sites) onto my homepage. They both appear, and the top one updates. The second will not update, and is actually showing a post that I have since deleted. (If you click it to read it, it brings you to a error page because it no longer exists).

    I have tried EVERYTHING I can think of, and am about to pull my hair out! Please help!!!

  2. #2
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default please post webpage

    please post webpage

  3. #3
    Join Date
    Aug 2004
    Posts
    9,863
    Thanks
    3
    Thanked 960 Times in 949 Posts
    Blog Entries
    15

    Default

    Yep, please post a link to the problem page. But before then, check to make sure that each instance of the script on your page is assigned a unique variable name and not the same name, ie:

    Code:
    var cssfeed=new gfeedfetcher("example1", "example1class", "")
    cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed
    cssfeed.displayoptions("date") //show the specified additional fields
    cssfeed.setentrycontainer("li") //Display each entry as a list (li element)
    cssfeed.filterfeed(10, "title") //Show 10 entries, sort by date
    cssfeed.init() //Always call this last
    
    
    var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
    socialfeed.addFeed("Slashdot", "http://rss.slashdot.org/Slashdot/slashdot") //Specify "label" plus URL to RSS feed
    socialfeed.addFeed("Digg", "http://digg.com/rss/index.xml") //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
    DD Admin

  4. #4
    Join Date
    Apr 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I have tried renaming just about everything and still nothing. I even tried deleting the offending post that it only pulls and still nothing (I have since put it back). You can check out the site here.

    Thanks so much!

  5. #5
    Join Date
    Apr 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any ideas? I really have no idea what the issue is

  6. #6
    Join Date
    Aug 2004
    Posts
    9,863
    Thanks
    3
    Thanked 960 Times in 949 Posts
    Blog Entries
    15

    Default

    You haven't fixed the issue I mentioned above about not duplicating the variable names for each instance of your RSS displayer on the page:

    Code:
    				 <script type="text/javascript">
    				     var newsfeed=new gfeedfetcher("list1")
    					 newsfeed.addFeed("Stylewatch", "http://www.alapageboutique.com/stylewatch/feed/") 
    					 newsfeed.filterfeed(1) //Show 1 entry, sort by date
    					 newsfeed.init() //Always call this last
    				 </script>
    			 </div>
    			 </div>
            <div class="boxfoot"><a href="http://www.alapageboutique.com/stylewatch">More of the latest trends &raquo;</a></div>     
    	 </div>
    </div>
    <!--WHAT'S NEW-->
    <div id="swhome">
    <div class="boxheader">What's New</div>
    
    <h2>The latest happenings at the store</h2>
    <div id="wrapper">
    	   <div class="content">
    		     <div class="box">
    				 <script type="text/javascript">
    				     var newsfeed=new gfeedfetcher("list2", "_new")
    					 newsfeed.addFeed("What's New at Alapage", "http://www.alapageboutique.com/news/feed/") 
    					 newsfeed.filterfeed(1) //Show 1 entry, sort by date
    					 newsfeed.init() //Always call this last
    				 </script>
    Please see my post above for more details.
    DD Admin

  7. #7
    Join Date
    Apr 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much for your reply. Yes, I did try that but on testing it still doesn't work so I had not uploaded it (but I have now). Still nothing. The "Winter Sale" feed should not be pulling in, it is a really old post. Anything else that sticks out to you?

  8. #8
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default try this

    In the code for the second feed :


    <code>

    <h2>The latest happenings at the store</h2>
    <div id="wrapper">
    <div class="content">
    <div class="box">
    <script type="text/javascript">
    var newsfeed=new gfeedfetcher("list2", "_new")
    newsfeed.addFeed("What's New at Alapage", "http://www.alapageboutique.com/news/feed/")
    newsfeed.filterfeed(1) //Show 1 entry, sort by date
    newsfeed.init() //Always call this last
    </script>
    </code>

    remove:

    _new

    and leave it as empty quotes like this:

    ""

    See if it updates then

    Bud
    Last edited by ajfmrf; 08-09-2011 at 08:12 PM. Reason: forgot ending

  9. #9
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default try this

    In the code for the second feed :


    Code:
    <h2>The latest happenings at the store</h2>
    <div id="wrapper">
    	   <div class="content">
    		     <div class="box">
    				 <script type="text/javascript">
    				     var newsfeed=new gfeedfetcher("list2", "_new")
    					 newsfeed.addFeed("What's New at Alapage", "http://www.alapageboutique.com/news/feed/") 
    					 newsfeed.filterfeed(1) //Show 1 entry, sort by date
    					 newsfeed.init() //Always call this last
    				 </script>
    remove:

    _new

    and leave it as empty quotes like this:

    ""

    See if it updates then

    Bud

  10. #10
    Join Date
    Apr 2010
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Bud,
    I had tried that at one point, but tried it again hoping, still nothing. This is really starting to drive me crazy! Any other ideas? I'll gladly try it!

    Thanks

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
  •