posting

Represents a Forum posting.

Syntax
<posting
    type="(normal|complaint|answer|question|pingback)"?
    email="text"?
    ip="text"?
    moderationState="(not-reviewed|reviewed|approved|pending|rejected)"?
    userId="text"?
    dbid="positiveInteger"?
    (source="text" sourceId="text")?
    publicationId="positiveInteger"?
    creationDate="text"?
    lastModified="text"?
    pingbackURI="anyURI"?
  >
    <forum-ref/>
    
    <commented-article-ref/>?
    <thread-ref/>?
    <parent-ref/>?
    (<title>...</title>|<body>...</body>|<title>...</title>
     <body>...</body>)
    
    <custom-fields>...</custom-fields>?
  </posting>
Attributes
type="(normal|complaint|answer|question|pingback)" (optional)

The type of this posting.

Allowed values are:

normal (default)

The posting is an ordinary posting of no special type.

complaint

The posting is a complaint about another posting.

answer

The posting is a web meeting answer (not currently supported).

question

The posting is a web meeting question (not currently supported).

pingback

The posting is a pingback.

email="text" (optional)

The email address of the author of this posting.

ip="text" (optional)

The IP address from which the posting originated.

moderationState="(not-reviewed|reviewed|approved|pending|rejected)" (optional)

The moderation state of this posting.

Allowed values are:

not-reviewed (default)

The posting has not been reviewed.

reviewed

The posting has been reviewed.

approved

The posting has been accepted by the moderator.

pending

The posting is pending.

rejected

The posting has been rejected by the moderator.

userId="text" (optional)

The user ID of the user who created the posting.

dbid="positiveInteger" (optional)

The internal database ID of this posting, which can be used when importing updated versions of existing postings. It can also be used for establishing relationships between elements in the syndication file. Other elements in the file have dbid attributes that can be used for this purpose. If a posting element does not have a dbid attribute then it must have a source and sourceid attribute. A posting element may have both a dbid attribute and a source/sourceid attribute pair, in which case either of them can be used for establishing relationships.

You should only use the dbid attribute when importing updated versions of existing postings.

source="text" (optional)

The name of the system from which this posting originates. Together with the sourceid attribute it forms a globally unique external identifier for the posting that can be used for establishing relationships between elements in the syndication file. Other elements in the file have source and sourceid attributes that can be used for this purpose. If this attribute is specified then a sourceid attribute must also be specified. If a posting element does not have a source and sourceid attribute then it must have a dbid attribute. A posting element may have both a source/sourceid attribute pair and a dbid attribute, in which case either of them can be used for establishing relationships.

If source and sourceid are supplied and dbid is not supplied, then they are used to lookup an existing posting. If a posting with matching source and sourceid is found, then this posting is updated; otherwise a new posting is created.

If supplied, source and sourceid are imported and stored when creating new postings, but not when updating existing postings.

sourceId="text" (optional)

The id of this posting in the system from which it originates. Together with the source attribute it forms a globally unique external identifier for the posting that can be used for establishing relationships between elements in the syndication file. Other elements in the file have source and sourceid attributes that can be used for this purpose. If this attribute is specified then a source attribute must also be specified. If a posting element does not have a source and sourceid attribute then it must have a dbid. A posting element may have both a source/sourceid attribute pair and a dbid attribute, in which case either of them can be used for establishing relationships.

If source and sourceid are supplied and dbid is not supplied, then they are used to lookup an existing posting. If a posting with matching source and sourceid is found, then this posting is updated; otherwise a new posting is created.

If supplied, source and sourceid are imported and stored when creating new postings, but not when updating existing postings.

publicationId="positiveInteger" (optional)

The ID of the Content Engine publication to which this posting belongs.

creationDate="text" (optional)

The date/time this posting item was created, specified in the format:

yyyy-mm-dd hh:mm:ss.ffffffff

If specified, this attribute is only used when importing a new posting that does not already exist in the database. It is ignored when updating a posting that already exists. If it is omitted when importing a new posting, then the new posting's creation date is set to the current date.

lastModified="text" (optional)

The date/time this posting was last modified, specified in the format:

yyyy-mm-dd hh:mm:ss.ffffffff

If this attribute is omitted when importing a posting, then the posting's last modified date is set to the current date.

pingbackURI="anyURI" (optional)

The pingback URI of this posting.