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 aposting
element does not have adbid
attribute then it must have asource
andsourceid
attribute. Aposting
element may have both adbid
attribute and asource
/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 havesource
andsourceid
attributes that can be used for this purpose. If this attribute is specified then asourceid
attribute must also be specified. If aposting
element does not have asource
andsourceid
attribute then it must have adbid
attribute. Aposting
element may have both asource
/sourceid
attribute pair and adbid
attribute, in which case either of them can be used for establishing relationships.If
source
andsourceid
are supplied anddbid
is not supplied, then they are used to lookup an existing posting. If a posting with matchingsource
andsourceid
is found, then this posting is updated; otherwise a new posting is created.If supplied,
source
andsourceid
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 theposting
that can be used for establishing relationships between elements in the syndication file. Other elements in the file havesource
andsourceid
attributes that can be used for this purpose. If this attribute is specified then asource
attribute must also be specified. If aposting
element does not have asource
andsourceid
attribute then it must have adbid
. Aposting
element may have both asource
/sourceid
attribute pair and adbid
attribute, in which case either of them can be used for establishing relationships.If
source
andsourceid
are supplied anddbid
is not supplied, then they are used to lookup an existing posting. If a posting with matchingsource
andsourceid
is found, then this posting is updated; otherwise a new posting is created.If supplied,
source
andsourceid
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.