AtomReader Input Adapter

Adapter type: atomreader_in. The AtomReader Input adapter allows you to receive information from ATOM datasources.

ATOM datasources enable connections through URLs and transmit their information in a specialized XML format. Information the adapter receives from an ATOM datasource is inserted into an Event Stream Processor stream.

Ensure that incoming XML information includes:
  • feed_title
  • feed_link
  • feed_author_name
  • entry_title
  • entry_link
  • entry_content
Note: The adapter ignores any additional fields in the XML file.

If you are not already familiar with the specific XML format ATOM uses, see: http://www.atomenabled.org/

If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type.

Property Label Description
Source URL

Property ID: URL

Type: string

(Required) The URL of the ATOM datasource.

Refresh Interval

Property ID: refreshInterval

Type: interval

(Optional) Determines how often the specified URL is queried for data. The adapter measures the interval in microseconds unless qualified with interval formatting. Default value is 60000 milliseconds.

Timestamp Format

Property ID: timestampFormat

Type: string

(Advanced) The format string for parsing timestamp values. Default value is %Y-%m-%dT%H:%M:%S.

Date Format

Property ID: dateFormat

Type: string

(Advanced) The format string for parsing date values. Default value is %Y-%m-%dT%H:%M:%S.

PropertySet

Property ID: propertyset

Type: string

(Advanced) Specifies the name of the property set from the project configuration file. If you specify the same properties in the project configuration file and the ATTACH ADAPTER statement, the values in the property set override the values defined in the ATTACH ADAPTER statement. No default value.