Configure a story creator
A story creator
is the component creating the actual article.
To configure a story creator:
-
Decide on a name for the story creator (for example
MyStoryCreator
) -
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
-
Open your configuration file for editing and add the required information (see Editing the Configuration File).
-
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
-
Restart the Content Engine.
-
Start a browser and go to
http://
host-name/escenic-admin/do/services/display
to verify that theMyStoryCreator
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.