2006/5/18, Antone Roundy <[EMAIL PROTECTED]>:
On May 18, 2006, at 8:10 AM, Brendan Taylor wrote: > Do you have any suggestions about how this metadata could be included > without changing the content of the feed? AFAICT the only solution > is to > not use the attributes (which aren't required, of course). If it's in the feed document and it gets updated other than when the entry itself is updated (...and it wouldn't be of much use if it were only updated when the entry was updated), it's going to result in data getting re-fetched when nothing but the comment count and timestamp change. I don't see any way around that.
How about using conneg with Accept-Features? http://www.ietf.org/rfc/rfc2295.txt GET /feed.atom HTTP/1.1 Host: example.net Negotiate: 1.0, vlist Accept: application/atom+xml, application/xml, text/xml, */* Accept-Charset: utf-8, ascii, utf-16, iso-8859-1 Accept-Features: x-feed-thread This request would basically mean "if you understand the Accept-Features request header and there is a variant with the feature x-feed-thread, send this variant, otherwise, send another variant". Clients that don't support the feed thread extension won't include that feature in their feature set and will then get the non-FTE-aware feed. Example response to the previous request: HTTP/1.1 200 OK Server: example.net Date: xxxxxxxxxx TCN: choice Content-Location: http://exaemple.net/feed.atom?feed-thread=1 Alternates: { "feed.atom?feed-thread=0" 1.0 {features x-feed-thread} }, {"feed.atom?fead-thread=0" 1.0 {features !x-feed-thread} } <feed xmlns="http://www.w3.org/2005/Atom"> ... -- Thomas Broyer
