processors

processors contains an array of processor definitions. All the events selected in the filters section of the configuration file are passed to all the processors defined in this section (except for the newsml-import processor). When a processor receives an event, it:

  • Performs additional filtering to determine what do with the event (process it in some way or ignore it)

  • If the event is to be processed:

    • Carries out any necessary transformations on the content referenced by the event

    • Sends the transformed content to the appropriate destination

The following types of processor may be defined:

type: cue-print

This processor type converts the content item referenced in an event to a CUE Print text item or asset and submits it in a POST request to the CUE Print server.

type: dcx

This processor type converts the content item referenced in an event to a DC-X asset and submits it (along with its metadata) in a POST request to the DC-X server.

type: newsml

This processor type converts the content item referenced in an event to a NewsML document and writes it to file.

type: newsml-import

This processor is an import processor rather than an export processor, and therefore does not receive or respond to events. Instead, it monitors a specified folder for changes, and when NewsML files appear there, imports them as storyline content items.

These processor types are described in detail in the following sections.