logo       

Re: Meet the Ape: msg#00565

network.syndication.atom.protocol

Subject: Re: Meet the Ape


On 8/18/06, Tim Bray <Tim.Bray-xsfywfwIY+M@xxxxxxxxxxxxxxxx> wrote:
On Aug 18, 2006, at 12:28 PM, Joe Gregorio wrote:

> On 8/12/06, Tim Bray <Tim.Bray-xsfywfwIY+M@xxxxxxxxxxxxxxxx> wrote:
>> At the current time, the Ape always re-fetches the collection feed
>> because at the moment, that's the only place you can be *sure* of
>> finding an atom:entry representation of any given entry.
>
> I realize that this message is a bit old, but you aren't using
> the entry from the feed for editing purposes, are you?

Yes, I pull the ID and the edit-URI out and blast a modified version
of the original I posted, with the right ID, via PUT. I suppose I'm
violating a SHOULD in that I'm not preserving server-generated
foreign markup, but for the purposes of the Ape it seems to work
fine. I suppose it would be an improvement if I fetched the entry
before updating it, although I'd be surprised if the difference was
material to the Ape. -Tim

That sounds fine for a testing client, as long as you aren't
surprised by a server implementation that truncates atom:contents
to the first 100 characters when it appears in the feed. Obviously
you need to do a GET on the "edit" URI if you were building
a true editing client.

-joe

--
Joe Gregorio http://bitworking.org




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise