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 bloggerDev googlegroups.com
To unsubscribe from this group, send email to
bloggerDev-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---
|