List Info

Thread: Blog feed being cached




Blog feed being cached
country flaguser name
United States
2007-08-28 13:43:36
Hi guys,

I'm developing a site at http://www.nick-tay
lor.co.uk/dev/ which is
supposed to output the first five entries from my blog.
Unfortunately,
my web server seems to be using cached versions of the feed.
Sometimes
it shows up correctly, sometimes my latest post doesn't show
up,
sometimes a test post I put up and deleted shows...

I'm outputting the time at the top of the page to show it's
not a
browser issue, and I've tried outputting the content of the
feed
object too, which showed the content is definitely out of
date.

Is there any setting I can use in the blog library to ensure
a correct
version is loaded?

I've tried the following, but it doesn't seem to work:

$client =new Zend_Http_Client();
$client->setHeaders('Cache-Control','no-cache');
$gdClient = new Zend_Gdata($client);
$query = new Zend_Gdata_Query('http://nick-ta
ylor.blogspot.com/feeds/
posts/default');
$query->setParam('max-results','5');
$query->setParam('start-index','1');
$feed = $gdClient->getFeed($query);

Hope someone has a fix for this, it's driving me mad!

Thanks,

Nick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Blog feed being cached
country flaguser name
United States
2007-08-28 14:34:31
I changed the feed address to http://www.blogger.com/feeds/5362992259772476510/p
osts/default
then added and deleted some more posts. It seems better than
it was
before, but the test posts still appear occasionally.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Blog feed being cached
user name
2007-08-30 09:17:35
On 8/28/07, nickfel <ntaylor3googlemail.com> wrote:
>
> I changed the feed address to http://www.blogger.com/feeds/5362992259772476510/p
osts/default
> then added and deleted some more posts. It seems better
than it was
> before, but the test posts still appear occasionally.

We pushed a release Tuesday evening (Pacific time) that
contained a
fix for a feed caching bug. Are you still noticing the
problem?

-- Pete

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Blog feed being cached
country flaguser name
United States
2007-08-30 12:59:18
I haven't noticed it since my last post. Thank you!!


Nick



On Aug 30, 3:17 pm, "Pete Hopkins ☠"
<phopk...google.com> wrote:
> On 8/28/07, nickfel <ntayl...googlemail.com> wrote:
>
>
>
> > I changed the feed address tohttp://www.blogger.com/feeds/5362992259772476510/p
osts/default
> > then added and deleted some more posts. It seems
better than it was
> > before, but the test posts still appear
occasionally.
>
> We pushed a release Tuesday evening (Pacific time) that
contained a
> fix for a feed caching bug. Are you still noticing the
problem?
>
> -- Pete


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Blogger Data API" group.
To post to this group, send email to bloggerDevgooglegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )