Wiki page content
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 12, 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 the Atom entry document of a wiki page.

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

 

td

In the urn:ibm.com/td namespace.

snx

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

 

Table 1. Wiki definition elements

Element
How treated on input
Description
<id>
Ignored
Unique identifier of a wiki page.
<title type="text">
Required
Title of the wiki page in text format. The type attribute is optional; type="text" is the default and only format allowed.
<td:label>
Optional
A short text label used to identify the wiki page in API operation resource addresses. The server assigns a label if you do not provide one.
<category term="page" scheme="tag:ibm.com,2006:td/type" label="page"/>
Required
Identifies a wiki page Atom entry.
<category term="tag_word"/>
Optional
Represents a tag on the wiki page. This element is repeated for each tag.
<link rel="alternate" type="text/directory" href="alternate_url">
Ignored
A direct link to the wiki page within the Wikis web application. Operations supported on the value of the href attribute:
  • GET: Use the web address to view the wiki page in HTML format.
     
<link rel="self" type="application/atom+xml" href="self_url">
Ignored
Use the web address in the href attribute to obtain an Atom entry document containing a complete representation of this wiki page. The following operation is supported:
  • GET: Use the web address to obtain a full representation of the wiki page as an Atom entry document.
     
<link rel="edit" type="application/atom+xml" href="edit_url">
Ignored
Use the web address in the href attribute to get an Atom entry document containing a complete representation of this wiki. If you are an owner of the wiki, the following operations are supported:
  • GET: Use the web address to obtain a full representation of the wiki page as an Atom entry document.
  • PUT: Use the web address to update this wiki page.
  • DELETE: Use the web address to delete this wiki page.
     
<link rel="edit-media" href="edit-media_url">
Ignored
Use the web address in the href attribute to obtain HTML markup of the Wiki page. If you are a wiki owner, the following operations are supported:
  • GET: Use the web address to obtain a full representation of this Wiki page as an Atom entry document.
  • PUT: Use the web address to update the wiki page.
  • DELETE: Use the web address to delete the wiki page.
     
<link rel="enclosure" href="encl_url" length="encl_length">
Ignored
Use the web address in the href attribute to obtain HTML markup of the Wiki page. The following operation is supported:
  • GET: Use the web address to obtain the HTML markup.
     
<link rel="replies" type="application/atom+xml" href="replies_url" thr:count="replies_count">
Ignored
Use the web address in the href attribute to obtain an Atom feed of the comments to this wiki page.
<summary type="text">
Optional
A summary text description of this wiki page. The summary text is not displayed in the web user interface. The summary is used in search, Activity Stream and e-mail notifications, in order to provide a short summary of contents for a wiki page.
  •  
If left empty, the summary is automatically generated from the wiki content.
<content type="text/html" src="src_url">
Required

The src attribute is not required on input. It gets generated by the server and is added to the Atom document upon creation.
Provides access the HTML markup of the wiki page. The following operation is supported:
  • GET: Use the web address to obtain the HTML markup of the page.
Tips when posting content to a page:
  • Enclose your XHTML block in a single wrapper element, such as a <div> or <p> tag.
  • Do not include an <html>, <head>, nor <body> tag in your XHTML block.
     
<td:version/uid>
Ignored
Unique version identifier.
<td:versionLabel>
Ignored
Incremental version number, starting at 1.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/recommendations">
Ignored
Total number of recommendations of this page.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/comment">
Ignored
Total number of comments to this page.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/hit">
Ignored
Total number of views of this page.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/anonymous_hit">
Ignored
Total number of anonymous views of this page.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/attachments">
Ignored
Total number of attachments to this page.
<snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/versions">
Ignored
Total number of versions of this page.
<updated>
Ignored
The date this wiki page was last updated, as defined in the Atom specification.
<published>
Ignored
The date this wiki page was initially published, as defined in the Atom specification.
<author>
Ignored
The person who created the wiki page.