Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
SimplePie is (temporarly) blocked from FeedBurner
http://groups.google.com/group/feedburner-for-developers/browse_thread/t...
http://tech.groups.yahoo.com/group/simplepie-support/message/2252
This will get resolved for now though, if your having trouble this patch worked for me.
Comment | File | Size | Author |
---|---|---|---|
patch72.patch | 1.14 KB | Scott Reynolds |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedGreat sluething Scott!
One option is to remove database caching and use SimplePie caching but way back when that never really worked well. I wonder it is working well enough to finally remove database caching?
Needs some testing and to be looked into... performance, duplicate feeds, and the like.
Comment #2
gsnedders CreditAttribution: gsnedders commentedSP's built-in caching does not deal with duplicate feeds/items whatsoever. It just caches the current state of the feed. There is no intention for it to do any more. For anything like SimpleFeed, it really isn't suitable (nor is it meant to be).
As my post on the FeedBurner list says, I expect it's just done through checking for If-Modified-Since/If-None-Match headers, which you really ought to use.
Comment #3
Scott Reynolds CreditAttribution: Scott Reynolds commentedAHH so a simple
Comment #4
m3avrck CreditAttribution: m3avrck commentedThanks Scott!
Fixed in 6.x:
http://drupal.org/cvs?commit=142408
Fixed in 5.x:
http://drupal.org/cvs?commit=142407
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
Code Rader CreditAttribution: Code Rader commentedThis is still an issue in 5.x-3.1.
I just did a test using curl
If you notice the Last-Modified, it is significantly different. Different enough to effect my feed retrieval. It looks like the only way might be to mask the User-Agent.
Comment #7
Code Rader CreditAttribution: Code Rader commentedSo are we way out of line to do this?
Also, to get my feeds to load properly now, I had to delete the hash value in the db directly.
Comment #8
Scott Reynolds CreditAttribution: Scott Reynolds commentedWas simplefeed fetching your feed? Was the feed fetching just behind? If that is the case not sure this change is warranted (and it probably is justification for creating a new issue). I know this has to do with how Google does its caching and it feedburners performance. I believe the thinking would be the following:
Google allows web browsers to pull the most up-to-date version regardless if its cached, and any other user agent needs to pull from cache. The reason is that the other agents usually ping periodically and thus create load on the servers. This is a way to reduce the load.
Comment #9
Code Rader CreditAttribution: Code Rader commentedIt was fetching the feed, but the feed was over 48 hours old. I understand the problem of load, but to have a blog cache that's over 2 days old seems a bit much to me.
Comment #10
Scott Reynolds CreditAttribution: Scott Reynolds commentedThen I believe this isn't an issue for SimpleFeed. Google is doing its thing, whether we like it or not. Changing the user agent will get you the most up to date, but from all I have read on this issue (and its been a lot...) its a FeedBurner issue. I have seen the SimplePie guys working with them figuring out what is going on. Not something that should be in the D.o issue queue but SimplePie's : http://www.simplepie.org
Comment #11
rmccue CreditAttribution: rmccue commentedI really, really hate to bump this thread/bug/node/whatever, but why would header() work? header() sends a header to Apache and to the browser, not to SimplePie and through the socket connection to FeedBurner.
You need to look into the SimplePie_File class and send your headers via that. I don't remember how off the top of my head, unfortunately.