escenic-forum-syndication

The escenic-forum-syndication schema defines a set of additional elements that can be used to include Forum postings in an Escenic Content Engine syndication file, thus enabling Forum postings to be imported and exported in the same way as other publication content. escenic-forum-syndication schema elements are identified within a syndication file by the namespace to which they belong (http://xmlns.escenic.com/2010/forum-import).

The following example shows a syndication file containing one forum content item (the forum itself) and one very simple posting in that forum:

<escenic version="2.0"
    xmlns="http://xmlns.escenic.com/2009/import"
    xmlns:forum="http://xmlns.escenic.com/2010/forum-import"
    >
  <content type="forum" state="published" source="MyphpBBForum" sourceid="1">
    <field name="title">My Forum</field>
  </content>
  <forum:posting source="MyphpBBForum" sourceId="2">
    <forum:body>My first posting.</forum:body>
    <forum:forum-ref source="MyphpBBForum" sourceId="1"/>
  </forum:posting>
</escenic>

This example shows a syndication file containing a more complex posting element that makes use of most of the escenic-forum-syndication schema elements:

<escenic version="2.0"
  xmlns="http://xmlns.escenic.com/2009/import"
  xmlns:forum="http://xmlns.escenic.com/2010/forum-import"
  >
  <forum:posting
      creationDate="2010-04-01 13:01:02"
      email="user123@domain.com"
      lastModified="2010-04-01 13:01:02"
      moderationState="approved"
      publicationId="1"
      type="normal"
      ip="221.120.101.130"
      source="ece-forum"
      sourceId="2345"
      userId="2"
      pingbackURI="http://www.some-host.com"
      >
    <forum:thread-ref source="ece-forum" sourceId="12"/>
    <forum:parent-ref source="ece-forum" sourceId="15"/>
    <forum:forum-ref source="ece-content" sourceId="123"/>
    <forum:commented-article-ref source="ece-content" sourceId='11'/>
    <forum:title>This is posting Title</title>
    <forum:body><![CDATA[This is posting Body]]></body>
    <forum:custom-fields>
      <forum:custom-field name="posting-user-karma-level">
        Gold
      </forum:custom-field>
    </forum:custom-fields>
  </forum:posting>
</escenic>

For a description of the Escenic Content Engine syndication file format, see the Escenic Content Engine Syndication Reference.

Namespace URI

The namespace URI of the escenic-forum-syndication schema is http://xmlns.escenic.com/2010/forum-import.