[ php-blog-Feature Requests-1588802 ] nocache for FeedBurner
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #1588802, was opened at 2006-11-01 19:12
Message generated for change (Comment added) made by garvinhicking
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1588802&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: User functions
Group: Future Release
>Status: Pending
>Priority: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Garvin Hicking (garvinhicking)
Summary: nocache for FeedBurner
Initial Comment:
After lots of back-and-forth with FeedBurner support,
we discovered FeedBurner is not expecting the currently
implemented form of delta encoding for Serendipity's
RSS feed. Passing nocache on the GET line, per this
technote:
http://www.s9y.org/42.html
has resolved the issue for me personally, however
FeedBurner will probably not change its expectations in
the If-Modified-Since negotiation anytime soon.
Therefore, I propose adding:
if (isset($_SERVER['HTTP_USER_AGENT'])) {
if(stristr($_SERVER['HTTP_USER_AGENT'],'feedburner')) {
$_REQUEST['nocache'] = true;
}
}
or equivalent (perhaps compile an array of User-Agent
strings that expect the full feed, not incremental
changes, but still use If-Modified-Since?) to the top
of rss.php for future releases.
The other option would be to investigate what
FeedBurner is expecting in its If-Modified-Since
negotiation (basically, I believe it wants just a 200
or a 304, not an incremental of new <item> entries
based on the date).
I worked with Eric Lunt (feed[NOSPAM]back at feedburner
dot c o m) on case# 36656 and he was extremely helpful.
I'm sure he'd be willing to chat with Serendipity devs
about this as well, since it is in everyone's mutual
best interest for Serendipity and FeedBurner to play
nice. :)
----------------------------------------------------------------------
>Comment By: Garvin Hicking (garvinhicking)
Date: 2006-11-02 11:20
Message:
Logged In: YES
user_id=473563
Hi!
Thanks a lot for the suggestion to auto-set the nocache
option. I believe this is the most easy way to go.
Apart from that, sadly there is no unique way to deal with
the If-Modified stuff without either losing functionality or
losing RFC-compliance. :-(
I committed your workaround to the 1.1 SVN!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542825&aid=1588802&group_id=75065
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642