[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Comments (was: issue: collection typing)




Dare Obasanjo wrote:


For
example, I don't consider creating or fetching
comments an 'advanced' administrative task. In fact,
fetching comments really should be part of the format
spec since it will most likely be done by feed
readers.

How about this:
<link rel="comments" ...> is where you find comments. When used as a child of atom:feed, you get comments on all entries in the feed. When used as a child of atom:entry, you get comments on that entry only.


To create comments, you POST to an entry's URI (the same URI you would use to edit it... but no one will catch you if you use a different URI in public). In the response, you get some headers:

Link: <http://www.example.org/entryX/comments/feed>; rel="feed"
Location: <some optional editable location>;

and maybe a body.

Thoughts?

Robert Sayre