[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indicate entry in Collection Feed is full representation
On Dec 2, 2007 11:49 PM, Brian Smith <brian@xxxxxxxxxxxxxx> wrote:
> If there was an extension to say "this feed is updated immediately upon any change to any entry, the entries in this feed are the canonical form of the entries they represent, and here are their ETags", then the client could avoid doing the conditional GET on the entry resource as long as it knows its version of the feed is up-to-date.
I understand now. There are 3 things that need to be expressed explicitly:
1. this feed is updated immediately upon any change to any entry,
2. the entries in this feed are the canonical form of the entries they
represent,
3. and here are their ETags
hence,
1. a non-cacheable (or short-expiry) Subscription Document (rfc5005),
2. which has a "full-content" relation link pointing to itself,
indicating it's a full-content feed,
3. and le:etag in each entry's "edit" relation link
should be sufficient to express all 3 pieces of information.
<feed>
<link rel="full-content" href="" />
<link rel="current" href="" />
<link rel="prev-archive" href="/archives/2007/11/feed.atom"/>
<entry>
<link rel="edit" href="/entries/2" le:etag="xyyz"/>
..
</entry>
</feed>
--
Teo Hui Ming