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 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.

 

Table 1. 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="self" type="application/atom+xml" 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.

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="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.
<opensearch:startindex>
Ignored
It is the start index of the items,zero based
<opensearch:itemsperPage>
Ignored
It is the pagesize.The element should exist if pagesize is not "-1"
<opensearch:totalResults>
Ingored
The total results of open search.
 
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 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.