Blogs comment content 

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:


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

Note: 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" /> 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.

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.

Parent topic

Blogs Atom entry types

Related reference
Create comments
Retrieve a blog comment
Delete comments
Getting a feed of the comments added to a blog