Atom Feed Reader Input Adapter

The ATOM feed reader enables you to get information from ATOM data sources. ATOM data sources enable connections through URL and send their information in a special XML format.

The retrieved information will be inserted into a Sybase CEP stream. The incoming XML information must include:

If additional fields exist in the XML file, they are ignored.

The following table describes the properties for the ATOM feed reader:

Property Name (screen)

Property Name (Attach Adapter)

Type

Description

URL

URL

String

The URL of the ATOM data source.

Refresh interval

RefreshInterval

Interval

(Optional). How often to query the specified URL for data. In microseconds, unless qualified with Interval formatting (see "Time Literals" in the Sybase CEP CCL Reference Guide for more information). Defaults to 1 minute.

Timestamp Format

TimestampFormat

String

(Optional). The format of the timestamp. See "Timestamp Format Codes" in the Sybase CEP CCL Reference Guide for more information. Defaults to "YYYY/MM/DDTHH24:MI:SS".

For an example of how to use the ATOM Feed Reader, see the LiveJournalAlerts example in the examples directory under Sybase CEP Installation Guide .

For example, on Microsoft Windows, the directory is typically:

C:\Program Files\SybaseC8\Server\examples\Web\LiveJournalAlerts

On UNIX-like operating systems, the directory is typically:

/home/<username>/sybasec8/server/examples/Web/LiveJournalAlerts

If you are not already familiar with the specific XML format used by ATOM, you may find useful information at the following Web site:

http://www.atomenabled.org/developers/syndication/atom-format-spec.php