rel-in-reply-to: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(WebMention makes use of in-reply-to)
(add explicit publishers and consumers spec text, add issues section with reply to multiple other posts question)
Line 3: Line 3:
'''<dfn>rel=in-reply-to</dfn>''' is proposed method for linking from a comment to the original post that the comment is a reply to.
'''<dfn>rel=in-reply-to</dfn>''' is proposed method for linking from a comment to the original post that the comment is a reply to.


== WebMention ==
== Publishers ==
Checking for <code>rel="in-reply-to"</code> on a link is one of the methods mentioned in [http://webmention.org/ WebMention] for verifying a WebMention ping.
In a post that is a reply/response/comment to some other original post on the web, the hyperlink from the reply to the original should be marked up with the <code>rel</code> value <code>in-reply-to</code>.
 
== Consumers ==
=== WebMention ===
If you site implements receiving WebMentions, implement the WebMention ping verification using <code>rel="in-reply-to"</code> as documented in the [http://webmention.org/ WebMention specification].
 
== Issues ==
=== Replying To Multiple Original Posts ===
What if a post is a reply/response/comment to multiple other original posts on the web?
* Example: (need a real world example of a reply to multiple other posts to better understand this problem and its importance)
 
Should the reply put <code>rel="in-reply-to"</code> on the hyperlinks to all of the other original posts? Or should the reply only use <code>rel="in-reply-to"</code> on the first or most important original post that it's a reply to?
 


== Previous Formats ==
== Previous Formats ==

Revision as of 03:33, 10 April 2013

This article is a stub. You can help the microformats.org wiki by expanding it.

rel=in-reply-to is proposed method for linking from a comment to the original post that the comment is a reply to.

Publishers

In a post that is a reply/response/comment to some other original post on the web, the hyperlink from the reply to the original should be marked up with the rel value in-reply-to.

Consumers

WebMention

If you site implements receiving WebMentions, implement the WebMention ping verification using rel="in-reply-to" as documented in the WebMention specification.

Issues

Replying To Multiple Original Posts

What if a post is a reply/response/comment to multiple other original posts on the web?

  • Example: (need a real world example of a reply to multiple other posts to better understand this problem and its importance)

Should the reply put rel="in-reply-to" on the hyperlinks to all of the other original posts? Or should the reply only use rel="in-reply-to" on the first or most important original post that it's a reply to?


Previous Formats

YouTube uses a URL-qualified version of in-reply-to:

  • rel="http://gdata.youtube.com/schemas/2007#in-reply-to"

in their Atom API, e.g.:

<link rel="http://gdata.youtube.com/schemas/2007#in-reply-to"
  type="application/atom+xml" 
  href="https://gdata.youtube.com/feeds/api/videos/2cd.../comments/978..."/>

Alternatives

Alternatively, or in addition, there is the suggestion to use:

  • class=u-in-reply-to

on hyperlinks from comment posts marked up with h-entry to original posts.

See Also