Configure a story creator

A story creator is the component creating the actual article.

To configure a story creator:

  1. Decide on a name for the story creator (for example MyStoryCreator)

  2. Create a configuration file by copying /opt/escenic/engine/plugins/newsroom/misc/siteconfig/com/escenic/mos/handlers/ExampleStoryCreator.properties to your common configuration layer. For example:

    $ mkdir -p /etc/escenic/engine/common/com/escenic/mos/handlers
    $ cp /opt/escenic/engine/plugins/newsroom/misc/siteconfig/com/escenic/mos/handlers/ExampleStoryCreator.properties \
      /etc/escenic/engine/common/com/escenic/mos/handlers/MyStoryCreator.properties
  3. Open your configuration file for editing and add the required information (see Editing the Configuration File).

  4. Open configuration-root/com/escenic/mos/handlers/roStorySend.properties for editing and add a reference to your story creator, for example:

     storyCreators=/com/escenic/mos/handlers/MyStoryCreator
  5. Restart the Content Engine.

  6. Start a browser and go to http://host-name/escenic-admin/do/services/display to verify that the MyStoryCreator is running. If the service is not correctly configured you will see an error message describing the problem.

A story creator imports stories to one section of one publication only. If you want to import Enps stories to several publications or to several sections of a publication, then you must configure one story creator for each publication/section combination.