Creating and Configuring Interface to Website

Scenario: You want to create and configure Interface to Website.

 

Reference: For background information, see the reference section.

 

Workflow diagram:

 

 

Prerequisites:

  • System Manager is in Engineering mode.
  • System Browse is in Management View.

 

Steps:

1 – Create and Start the Web Feed Publisher Driver
  1. Depending on where to add the web feed publisher driver, select one of the following:
  • Project > Management System > Servers > Main Server > Drivers
  • Project > Management System > FEPs > [FEP Station] > Drivers
  • The Object Configurator tab displays in the Primary pane.
  1. Click New and select New Web Feed Publisher Driver.
    a. (Optional) In the New object dialog box, enter a unique description text.
    b. Click OK.
  • The web feed publisher driver is added to System Browser.
  1. In the Operation tab, navigate to the Driver Status property and click Start.
  • The web feed publisher driver is created and started.

 

2 – Configure a Web Feed Publisher Driver
  1. In System Browser, select Web Feed Publisher Driver and click the Driver Editor tab.
  1. (Optional) In the Driver Settings expander, modify the description.
  1. In the Configuration Properties expander, proceed as follows:
  • In the Device Request Timeout field, enter 30000. The Device Request Timeout is the maximum time required to receive a response after sending the request to the device. The time is measured in milliseconds.
  • In the Check Status Rate field, enter 300000.The Check Status Rate is the duration after which, the driver checks the status of all the devices controlled by this driver. The time is measured in milliseconds.
  1. In the Notification Integration expander, proceed as follows
  • In the Batch Size field, set the value as 10 (default is 100). Batch size specifies the size in which the request is processed by the driver. The batch size displays the number of devices to which Notification interacts in one instant. For example, if there are 100 devices on which a message has to be displayed and a batch size of 10 is entered, Notification will send the message to batches of 10 devices each.
  • In the Expected delivery time field, enter the time in seconds (default is 5 seconds).
    NOTE : Notification does not guarantee the message delivery will be completed during the time entered. The expected delivery time is solely used to compute delivery statistics indicating whether the message was delivered to the Web Feed Device or the CAP Feed Device on-time or late.
  1. Click Save .
  • The parameters are configured for the web feed publisher driver.

 

3 – Create Web Feed Publisher Field Network
  • The information regarding the website and the path to the physical folder where Notification must publish the feeds is known.
  1. Select Project > Field Networks.
  • The Object Configurator tab displays in the Primary pane.
  1. Click New and select New Web Feed Publisher Field Network.
  1. In the New object dialog box that displays, enter a unique name and description.
  1. Click OK.
  • The Web Feed Publisher Field Network node displays under the Field Networks node.
  • The Web Feed Publisher driver is automatically associated to the field network. In the Network Editor tab, under the Network Settings expander, you can see that the values are preselected, and the driver is already assigned.

 

4 – Create a Web Feed Device
  1. Select Project > Field Networks > Web Feed Publisher Field Network.
  1. In the Description field, enter a description for the field network.
  1. From Driver Instance drop-down list, select the Web Feed Publisher Driver.
  1. Click Save .
  • The Web Feed Publisher Driver node is added to the Field Network hierarchy.
  1. Click Create .
  • The Create New Object dialog box displays.
  1. From the Child type drop-down list, select a device.
    NOTE: The options available for selection in the Child type drop-down list are Web Feed Device and CAP Feed Device.
  1. For the selected device, enter a name and description.
  1. Click OK.
  1. Select the Device Editor tab.
  1. Enter appropriate values for the other fields as detailed in Configuration Properties for Web Feed Device and CAP Feed Device.
  1. Click Save .
  1. Verify that a RSS/Atom feed was generated by the Web Feed device by performing the following steps:
  • Enter the secure URL https://<URLtowebsite>/MNSFeeds/<id><prefixname>_rss_en_US.xml and https://<URLtowebsite>/MNSFeeds/<id><prefixname>_atom_en_US.xml respectively in a browser and verify that a feed containing the text of the message template created above is available. Also verify that all the respective .XML message files should be present for corresponding RSS/Atom Feed.
  • Enter the secure URL https://<URLtowebsite>/MNSFeeds/<id><prefixname>multimedia_rss_en_US.xml respectively in a browser and verify that a feed containing the multimedia of the message template created above is available. Atom feed is not supported.
  • Enter the secure URL https://<URLtowebsite>/MNSFeeds/<id><prefixname>audio_rss_en_US.xml respectively in a browser and verify that a feed containing the audio of the message template created above is available. Atom feed is not supported.
  1. Verify that a RSS/Atom feed was generated by the CAP Feed device by performing the following steps:
  • Enter the secure URL https://<URLtowebsite>/MNSCAPFeeds/<id><prefixname>_rss_en_US.xml and https://<URLtowebsite>/MNSCAPFeeds/<id><prefixname>_atom_en_US.xml respectively in a browser and verify that a feed containing the text of the message template created above is available. Also verify that all the respective CAP-XML message files should be present for corresponding RSS/Atom Feed.
    NOTE: If a message generated by the CAP Feed device is updated, canceled, suspended, or resumed, the <references> tag of the CAP message will have entries of all the previous CAP messages' IDs to which the corresponding message is associated.
  1. Click the hyperlink present in the RSS/Atom feed entry to view the detailed message that was entered in the Long text field of the message template.

The example URL in the verification step assumes that the feeds are published into a folder called MNSFeeds for the Web Feed device and MNSCAPFeeds for the CAP Feed device.