commented-article-ref

This element references an article to which a comment posting is to be added.

Syntax
<commented-article-ref
    dbid="positiveInteger"?
    (source="text" sourceId="text")?
  />
Attributes
dbid="positiveInteger" (optional)

The dbid of the referenced article (content item) on which a comment has been made. If this attribute is specified, then one of the following two conditions must be satisfied:

  • The target publication must already contain a content item with a dbid attribute that matches this attribute, or

  • A content element with a dbid attribute that matches this attribute must appear somewhere before this commented-article-ref element in the syndication file.

source="text" (optional)

The source of the referenced article (content item) on which a comment has been made. If this attribute is specified, then sourceid must also be specified. One of the following two conditions must be satisfied:

  • The target publication must already contain a content item with source and sourceid attributes that match this element's source and sourceid, or

  • A content element with source and sourceid attributes that match source and sourceid must appear somewhere before this commented-article-ref element in the syndication file.

If dbid is specified, then source and sourceid are ignored.

sourceId="text" (optional)

The sourceid of the referenced article (content item) on which a comment has been made. If this attribute is specified, then source must also be specified. One of the following two conditions must be satisfied:

  • The target publication must already contain a content item with source and sourceid attributes that match this element's source and sourceid, or

  • A content element with source and sourceid attributes that match source and sourceid must appear somewhere before this commented-article-ref element in the syndication file.

If dbid is specified, then source and sourceid are ignored.