[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Indicate entry in Collection Feed is full representation
Teo Hui Ming wrote:
> On Dec 2, 2007 7:36 AM, Brian Smith <brian@xxxxxxxxxxxxxx> wrote:
> > [..] In order to be really useful, an extension like you
> mention would have to assure the client that it replace the
> conditional GET on the entry resource with a (conditional)
> GET on the feed.
>
> I agree, for the entry update scenario, the total round-trips
> turns out to be same. But I'm not quite understand the last
> sentence, can you elaborate a little more?
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.
> Anyway it turns out, adding an atom:category element to label
> a full-content feed will just work.
> <feed>
> <category scheme="http://purl.org/net/atomcat-general"
> term="containsFullRepresentationEntries"/>
> ..
> </feed>
Consider:
<feed>
<link rel='http://.../containsFullRepresentationEntries' href=''/>
</feed>
The feed can either point to itself ("I am the full-content feed"), or somewhere else ("the full content feed is over there."). That is why suggested a link relation instead of <f:feature> or <atom:category>.
- Brian