Wiki page content 

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

snx

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.

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

    tag.

  • Do not include an , , nor
    tag in your XHTML block.

    +

    Search Tips   |   Advanced Search

    <td:visibility>

    Required for POST

    Specifies the membership model of the wiki page. Options are: public or private.

    <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

    <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

    <snx:rank scheme="http://www.ibm.com/xmlns/prod/sn/versions">

    Ignored

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


Parent topic

Wikis Atom entry types

Related reference
Update a wiki page
Getting a feed of wiki pages
Create a wiki page programmatically
Retrieve a wiki page
Delete wiki pages

+

Search Tips   |   Advanced Search