Home
Comment content
Lists the elements in a comment that is added to a blog or a blog posting. All elements are in the http://www.w3.org/2005/Atom namespace, except those that are prefixed as follows:
- thr
- In the http://purl.org/syndication/thread/1.0 namespace.
Comment entry elements
Element How treated on input Description <id> Ignored Unique identifier of a comment entry. <title type="text"> Ignored Entry title; a descriptive title of the comment entry specified in text format. The type attribute is optional; type="text" is the default and only format allowed. <link rel="alternate" type="text/html" href=" xxxxxx"/> Ignored Use this Web address to obtain a HTML representation of this comment suitable for display in a browser. <link rel="edit" type="application/atom+xml" href="xxxxxx" edit_url"/> Ignored This element is present only if you obtained the entry by following links from the service document (it is not in the public comment feeds). Use this Web address to delete the comment entry. Comments cannot be updated (edited). <thr:in-reply-to ref="xxxxxx"/> Optional The value of the <id> element of the blog entry this comment is a response to. This element is required if you are using the 1.x API to post comments. Starting with version 2, this element is no longer required, but it is supported for backward compatibility. If <thr> is provided in the Atom entry document, the server handles it as a 1.x POST and the API URL is processed differently than the 2.x API URL.
<link rel="http://www.ibm.com/xmlns/prod/sn/reports" href="xxxxxx" /> Ignored Use this Web address to find any flags applied to the comment. <content type="html"> Required The content of this comment entry, as defined in the Atom specification. <published> Ignored The date this entry was published, as defined in the Atom specification. <updated> Ignored The date this entry was updated, as defined in the Atom specification. <author> Ignored The author of this entry, as defined in the Atom specification. This element will contain the name of the authenticated user who created the comment. If you are the owner of the blog, it will also contain the e-mail address.
Related reference
Get a feed of the comments added to a blog