Configuring the Publisher API

Configure publisher.xml for your feed handler.

Calling pub_initialize() reads in and uses the settings in publisher.xml for all feed handlers.

  1. Review publisher.xml elements and the sample template.
  2. Save publisher.xml in the /config folder of the directory that holds all files for your feed handler.

    For testing, you can copy the file from $RAP/DemoFeedHandler/config/publisher.xml from demo feed handler

  3. Edit publisher.xml elements. When starting with an existing file, at a minimum you must edit:
    • <AdminChannel> elements: <LocalInterface>, <AdminPort>
    • <ResendChannel> elements: <ResendPort>
    • One or more <DataStreamChannel> definitions including <ChannelName>, <LocalInterface>, <IPAddress>, <Port>