Blog posting 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 blog posting.

All elements are in the http://www.w3.org/2005/Atom namespace, except those that are prefixed as follows:

app

In the http://www.w3.org/2007/app namespace.

snx

In the http://www.ibm.com/xmlns/prod/sn namespace.

 

Table 1. Blog entry elements

Element
How treated on input
Description
<id>
Ignored
Unique identifier of a blog posting entry.
<title type="text">
Required
Entry title; a descriptive title of the blog entry specified in text format. The type attribute is optional; type="text" is the default and only format allowed.
<category term=" tag_word"/>
Optional
Repeat for each blog entry tag.
<link rel="edit" type="application/atom+xml" href="edit_url"/>
Ignored
If you are an owner of the blog, use this web address to update or delete the blog entry.
<link rel="alternate" type="text/html" href="xxxxxx"/>
Ignored
Use this web address to obtain a HTML representation of this blog entry suitable for display in a browser.
<link rel="self" type="application/atom+xml" href="xxxxxx"/>
Ignored
Use the web address in the href attribute to return a complete representation of this blog entry.
<link href="..." rel="replies" type="application/atom+xml" thr:count="<number>"/>
Ignored
Use this web address to obtain a feed of comments on this entry. The thr:count attribute identifies the number of comments. The entries in the feed are that of the blog comment entry type.
<link rel="http://www.ibm.com/xmlns/prod/sn/issues" href="xxxxxx" />
Ignored
Use this web address to obtain a list of the available flags you can apply to blog postings.
<app:edited>
Ignored
Contains the date this entry was last modified, as defined in the Atom publishing protocol specification.
<app:control>
Optional
Indicates whether comments are allowed on this entry. As defined in the Atom publishing protocol specification; see table below for contents.
<content type="html">
Required
The content of this blog 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>
Ignored
The total results of open search.
<author>

			<name>

			<email>

			<snx:userid>

			<snx:userState>

			</author>
Ignored
The author of this entry, as defined in the Atom specification. If IBM® Connections is configured to prevent email addresses from being displayed, then the <email> element is not supported; provide the <snx:userid> instead. Otherwise, <email> can be used. The <name> and <snx:userState> elements are ignored on input.
}}}
Optional
Indicate that the current idea is a duplicated idea. Contain the web address of target idea that this idea is marked as duplicate to.

 

Table 2. Contents of the<app:control> element

Element
How treated on input
Description
<snx:comments enabled="xxx" days="nnn" />
Optional
The enabled attribute specifies whether comments are enabled for this entry. Possible values are yes and no; the default is yes.

The days attribute specifies the number of days during which the comments are enabled. The default is 0, which indicates that there is no limit to the number of days in which comments are enabled.