I've been continuing to tweak the comments extension and believe that I am nearing a stable enough version to draft up the I-D. Here's what I've got currently:

http://www.snellspace.com/wp/?p=194

There are three link relations:

* http://purl.org/syndication/thread/1.0/comments
* http://purl.org/syndication/thread/1.0/root
* http://purl.org/syndication/thread/1.0/in-reply-to

/comments provides the URL (dereferencable) to an Atom feed that contains comment entries and may appear within atom:feed and/or atom:entry /root provides the URL (dereferencable) to the Atom feed that contains the original entries and may appear within atom:feed and/or atom:entry /in-reply-to provides the atom:id (not dereferencable) of an original atom:entry and may appear within atom:feed or atom:entry. in-reply-to on the feed level indicates that all of the entries within the feed are considered replies to the identified atom:entry.

all of these link relations may appear more than once (e.g. an entry can be a reply to multiple entries from multiple feeds.

Example 1: A weblog with a main feed and a comments feed

   Feed A: Main entry feed
   Feed B: Comments feed

   <!-- Feed A -->
   <feed>
     ...
     <link rel="http://purl.org/syndication/thread/1.0/comments";
             href="http://example.com/feedb.xml"; />
     <entry>
       <id>tag:entry:1</id>
       ...
     </entry>
   </feed>

   <!-- Feed B -->
   <feed>
     ...
     <link rel="http://purl.org/syndication/thread/1.0/root";
             href="http://example.com/feeda.xml"; />
     <entry>
       <id>tag:entry:1:1</id>
       <link rel="http://purl.org/syndication/thread/1.0/in-reply-to";
               href="tag:entry:1" />
       ...
     </entry>
   </feed>

Example 2: A post on one weblog responds to a post on another weblog

   Feed A: Blog 1 feed
   Feed B: Blog 2 feed

   <!-- Feed A -->
   <feed>
     ...
     <entry>
       <id>tag:blog-a:entry:1</id>
       ...
     </entry>
   </feed>

   <!-- Feed B -->
   <feed>
     ...
     <entry>
       <id>tag:blog-b:entry:1</id>
       <link rel="http://purl.org/syndication/thread/1.0/root";
             href="http://blog-a.com/feeda.xml"; />
       <link rel="http://purl.org/syndication/thread/1.0/in-reply-to";
               href="tag:blog-a:entry:1" />
       ...
     </entry>
   </feed>

Feedback requested.

- James

Reply via email to