Blogs comment content
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 9, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Lists the elements in a comment that is added to a blog or a blog posting.

All elements are in the namespace, except those that are prefixed as follows:


In the namespace.


Table 1. Comment entry elements

How treated on input
Unique identifier of a comment entry.
<title type="text">
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="self" type="application/atom+xml" href=" xxxxxx"/>
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"/>
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"/>
The value of the <id> element of the blog entry this comment is a response to.

Note: You must provide this element if you are using the URL from the publishing API service document or the /services/atom/{handle} /comments resource to create a comment. Starting with version 2, this element is no longer required, but it is supported for backward compatibility. If <thr:in-reply-to> 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 post-1.x API URL.
<link rel="" href="xxxxxx" />
Use this web address to find any flags applied to the comment.
<content type="html">
The content of this comment entry, as defined in the Atom specification.
The date this entry was published, as defined in the Atom specification.
The date this entry was updated, as defined in the Atom specification.
It is the start index of the items,zero based
It is the pagesize.The element should exist if pagesize is not "-1"
The total results of open search.
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 email address. If IBM® Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported; the <snx:userid> is used instead. Otherwise, <email> can be used. The <snx:userState> element identifies whether the person is an active or inactive user.