Legacy Stories

In Escenic legacy stories, the main text flow (usually referred to as the story's body) is stored in a rich text field. A rich text field is defined like this in the content-type resource:

<field type="basic" name="body" mime-type="application/xhtml+xml">

In other words, it is a basic field designed to store XHTML content. It is displayed in CUE as a rich text editor. The rich text editor provides a toolbar for formatting content, and also allows the user to insert simple inline relations to images and other stories. This rich text field, however, is only used to create the main text flow of the story. Other fields are used for storing structurally important elements such as the title/headline, lead text and byline, and most relations to other content (images, videos, audio files, other stories) are also stored outside the rich text field.

Here is a simple legacy story content type definition:

<content-type name="story">
  <panel name="main">
    <field mime-type="text/plain" type="basic" name="slug">
    <field mime-type="text/plain" type="basic" name="leadtext">
      <ui:label>Lead text</ui:label>
    <field mime-type="application/xhtml+xml" type="basic" name="body">
    <field mime-type="text/plain" type="basic" name="dateline">
    <ui:label>Content Summary</ui:label>
    <field name="slug" type="basic" mime-type="text/plain"/>
    <field name="leadtext" type="basic" mime-type="text/plain"/>
    <field name="dateline" type="basic" mime-type="text/plain"/>

For more information about how to define legacy rich text fields, see Basic Fields.