Dynamic Feed reader not bringing in new posts

248 views
Skip to first unread message

DataPlus support

unread,
Nov 1, 2011, 10:02:04 AM11/1/11
to Google AJAX APIs
I am using the dynamic feed reader to bring in posts from my Blogger
account. It will not bring in any new posts since Nov 2 2010....there
have been 17 posts since then....my facebook and website get all the
new posts....just not the dynamic feed reader.

The blog is mydataplus.blogspot.com

It's driving me insane!!!! Any Ideas?


The code I am using is:
/*
* How to use the Dynamic Feed Control, which has pretty UI already
made for you!
* Don't forget to check out the options:
* http://www.google.com/uds/solutions/dynamicfeed/reference.html
*/

google.load('feeds', '1');

function OnLoad() {
var feeds = [
{
title: '...More News',
url: 'http://mydataplus.blogspot.com/feeds/posts/default'

}
];

var options = {
numResults : 10,
stacked : true,
horizontal : false,
title : "DataPlus"
};

new GFdynamicFeedControl(feeds, 'content', options);
document.getElementById('content').style.width = "500px";
}

google.setOnLoadCallback(OnLoad);

Jeremy Geerdes

unread,
Nov 1, 2011, 10:29:02 AM11/1/11
to google-ajax...@googlegroups.com
This is a curious situation, which we've been discussing in the IRC channel. When called directly, the API returns old entries from the feed unless scoring=h parameter (i.e., include historical entries) parameter is specified, in which case it returns the most recent entries. The behavior seems contrary to what one would expect, probably a bug. I've forwarded these findings to Adam Feldman in the hopes that the team will investigate and respond.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrge...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax...@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-searc...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Adam Feldman

unread,
Nov 3, 2011, 7:00:37 PM11/3/11
to google-ajax...@googlegroups.com
Hello,

Sorry for the delayed response, but we spent some time looking into this.  Unfortunately, we're having trouble reproducing the problem with other feeds.  It would be helpful if someone could identify another feed that exhibits this behavior.

Thanks,
Adam

Jeremy Geerdes

unread,
Nov 3, 2011, 7:16:05 PM11/3/11
to google-ajax...@googlegroups.com
So, the report is that the dev team is having trouble reproducing this with any feeds other than the specified in the thread. So this is a request for anyone who may be seeing similar behavior to provide a URL for additional feeds. The behavior is as follows:

When loading a feed via the Feeds API, the Feeds API returns old posts by default. By calling the .includeHistoricalEntries() method via the JS API or including the scoring=h parameter to the RESTful endpoint, new posts are returned.

If you're seeing this behavior with your (or any) feed, please post back to this thread. Thank you.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrge...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Nov 1, 2011, at 9:02 AM, DataPlus support wrote:

omr

unread,
Nov 4, 2011, 12:57:44 AM11/4/11
to Google AJAX APIs

This 2008 discussion may be of historical interest (no pun intended):

http://groups.google.com/group/google-ajax-search-api/browse_frm/thread/31e5899e580b51a?tvc=1

In that thread, the 6th post notes that in the Feed API returned the
most recent results from the mentioned feed only if historical entries
were requested.

Three years later, that test case no longer demonstrates the problem.
(The mentioned feed's most recent post is dated August 24 2010. The
Feed API can now return that entry regardless of whether historical
entries are requested.)

...

This 2010 report may also be of interest:

http://code.google.com/p/google-ajax-apis/issues/detail?id=536

Excerpt:
"... In fact only with 'includeHistoricalEntries' I can retrieve ...
[the] latest entry ...."

One year later, the feed mentioned in that report is no longer
available. Although the Feed API may still have some entries cached
from there, results no longer exhibit the mentioned issue.

-- omr

DataPlus support

unread,
Nov 4, 2011, 10:39:01 AM11/4/11
to Google AJAX APIs
Any idea what triggers it to start working again? We have our code on
all our client's pc's which we use as like a company ticker to push
out new information when we post to the blog. I would have to go into
each clients machine and edit the code to add historical entries which
would be a big task....but if that is the only thing that will fix
it...it's better than nothing..

Where would I put the feed.includehistoricalentries () in this code? :
google.load('feeds', '1');

function OnLoad() {
var feeds = [
{
title: '...More News',
url: 'http://mydataplus.blogspot.com/feeds/posts/default'

}
];

var options = {
numResults : 10,
stacked : true,
horizontal : false,
title : "DataPlus"
};

new GFdynamicFeedControl(feeds, 'content', options);
document.getElementById('content').style.width = "500px";

}

google.setOnLoadCallback(OnLoad);

On Nov 4, 12:57 am, omr <omr99...@yahoo.com> wrote:
> This 2008 discussion may be of historical interest (no pun intended):
>
> http://groups.google.com/group/google-ajax-search-api/browse_frm/thre...

omr

unread,
Nov 4, 2011, 11:58:36 PM11/4/11
to Google AJAX APIs
> ... Where would I put [the call to includeHistoricalEntries]? ...

Try this:

...

var gfl = google.feeds.Feed.prototype.load;
google.feeds.Feed.prototype.load =
function() {
this.includeHistoricalEntries();
return gfl.apply(this, [].slice.call(arguments));
};

new GFdynamicFeedControl(feeds, 'content', options);

...

-- omr

espenhh

unread,
Nov 7, 2011, 7:37:51 AM11/7/11
to google-ajax...@googlegroups.com
the blogger feed at http://treningisit.blogspot.com/feeds/posts/default
recreates this bug.

No new posts are cached since september 15th.

DataPlus support

unread,
Nov 7, 2011, 9:50:06 AM11/7/11
to Google AJAX APIs
I also just noticed that If I delete a one of the posts (on blogger)
that's showing on the dynamic feed reader it does not remove it. You
can still click on it and it links to a missing page.....It's almost
like the dynamic feed reader is just showing a snapshot from Nov 2010
and no matter what I do now it doesnt change....


On Nov 7, 7:37 am, espenhh <espen.hje...@gmail.com> wrote:
> the blogger feed athttp://treningisit.blogspot.com/feeds/posts/default

Kevin

unread,
Dec 6, 2011, 2:46:02 PM12/6/11
to Google AJAX APIs
Sorry to bump an old thread, but I just came across this same issue
with the following feed: http://959kissfmdayton.blogspot.com/feeds/posts/default

Using the REST API

This WORKS (returns current content):
http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&scoring=h&q=http%3A%2F%2F959kissfmdayton.blogspot.com%2Ffeeds%2Fposts%2Fdefault

This DOES NOT WORK (returns outdated content):
http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http%3A%2F%2F959kissfmdayton.blogspot.com%2Ffeeds%2Fposts%2Fdefault

On Nov 3, 5:16 pm, Jeremy Geerdes <jrgeer...@gmail.com> wrote:
> So, the report is that the dev team is having trouble reproducing this with any feeds other than the specified in the thread. So this is a request for anyone who may be seeing similar behavior to provide a URL for additional feeds. The behavior is as follows:
>

> When loading a feed via the Feeds API, the Feeds API returns old posts by default. By calling the .includeHistoricalEntries() method via the JS API or including thescoring=h parameter to the RESTful endpoint, new posts are returned.


>
> If you're seeing this behavior with your (or any) feed, please post back to this thread. Thank you.
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:

> jrgeer...@gmail.com

Reply all
Reply to author
Forward
0 new messages