Why not just make it normative to return the entry metadata in the body?

Henry

On 9 Mar 2006, at 18:05, James M Snell wrote:


Sorry to tell you, that's the answer.  The only *normative* way in the
spec to find the public referenceable URI of the pict. is to walk the
collection.  Impl's *could* use the Location uri as the public
referenceable uri, but it's not required.  Impl's *could* return the
atom:entry with the response, but that's an unspecified behavior.

Fixing this problem would require us to adopt something like
http://www.intertwingly.net/wiki/pie/PaceFixMediaCollections

- James

John Panzer wrote:
[snip]
Can someone remind me again of the current status:

How would a client, written defensively so that it doesn't assume the
server returns the entry rep when posting to a media collection,
retrieve the viewable URL of a cat picture for use in embedding inside
an actual entry containing both pictures and text?

<content ..><img
src="http://example.org/media/pictures/cat001.jpg"/>Hey, look at this
cool cat!</content>

If the answer is "you have to retrieve the entire media collection and
walk through it, looking for the picture you just posted"... well, I
really don't want to have to stand up and tell people that when I'm
trying to evangelize the APP. Especially to people who are dealing with
applications with potentially thousands of pictures in a collection.

-John


Reply via email to