Thanks jg. I gave that a try and it's still having issues. When I try it in
the Google Playground, it says "Loading...", but it fails.
var feed = new google.feeds.Feed("http://www.napls.us/high/feed?nocache=" +
(new Date).getTime());
I checked for an error message:
alert('err# ' + result.error.code + ' error: ' + result.error.message);
...got this back:
err# 404 error: invalid result data
Very strange.
On Monday, January 28, 2013 8:41:35 AM UTC-5, jgeerdes [AJAX APIs "Guru"]
wrote:
>
> This is a recurring issue in the Feeds API which has been mentioned a
> number of times on this group. Strangely, requesting historical entries
> helps, but it's still not a perfect solution. The best workaround that we
> have at this time is to add a cache-busting parameter to the feed's url. So
> in your script, if you have a line similar to this
>
> var feedUrl = 'http://www.napls.us/feed'
>
> you would change it to something like this
>
> var feedUrl = 'http://www.napls.us/feed?nocache=' + (new Date).getTime()
>
> Be advised, though, this will compel the API to pull the feed every time
> you request it. So if your app is making multitudes of requests, you could
> cause problems for the school. I.e., be nice.
>
> jg
>
> On Mon, Jan 28, 2013 at 7:32 AM, Lonnie Morgan
> <[email protected]<javascript:>
> > wrote:
>
>> I've been reading up on the Feed API and hit a very weird issue. At first
>> I thought it was a cache issue, but I've tried a few different cache
>> busting options and still cannot get the most current posts from my kids'
>> school site to show up via the API call.
>>
>> Here is the feed link:
>>
>> http://www.napls.us/feed
>>
>> Pulling this up in Chrome works just fine. But running through the
>> Playground with the feed brings back posts more than a year old.
>>
>> I've bounced around the internets looking for similar issues and this one
>> has me stumped.
>>
>> Any thoughts...
>>
>> NOTE: I believe that the school is using Google Sites. Not sure if that
>> has any impact on the question.
>>
>>
>
> --
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
> Church!
> http://www.debraheightswesleyan.org
>
--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/i6drFijY78EJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.