Configure FTP Pollers

The Newsroom plug-in imports content items from iNEWS via an FTP server maintained by the iNEWS server. Stories are published on this server as XML files. The stories are organized in a folder structure that reflects the iNEWS queue structure.

In order to import stories from iNEWS you must:

  1. Get all the information you need to be able to log in to the iNEWS FTP server (host name, user name and password)

  2. Decide which iNEWS queues you want to import stories from

  3. Configure a poller object to poll the relevant folders on the FTP server. The poller will then monitor these folders for changes and when a change occurs, download all new or changed files and use them to create or update corresponding content items in a particular publication.

To configure an FTP poller:

  1. Decide on a name for your poller (for example MyINewsPoller)

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

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

  4. Open configuration-root/Initial.properties for editing and add a service entry for your poller, for example:

    service.1.00-inews-poller=/com/escenic/newsroom/MyINewsPoller
  5. Restart the Content Engine.

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

An iNEWS FTP poller imports stories to one section of one publication only. If you want to import iNEWS stories to several publications or to several sections of a publication, then you must configure one poller for each publication/section combination.