Writer Directives

The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the GeoRSS writer is GEORSS.

DATASET

Required/Optional: Required

The file to which the GeoRSS writer should output the XML feed. If the file does not exist it will be created.

Example:

GEORSS_DATASET c:\georss\feed.xml

Workbench Parameter: Destination GeoRSS File

WRITER_CHARSET

Required/Optional: Optional

The character set encoding in which the output XML feed should be written. If no character set is specified, the feed will be written in the UTF-8 character set. If an invalid character set is specified, the translation will fail.

Example:

GEORSS_WRITER_CHARSET UTF-16

Workbench Parameter: Output Character Set

OUTPUT_FORMAT

Required/Optional: Required

This directive specifies the format of the XML feed that the GeoRSS writer will produce. Acceptable values for this directive are ‘Atom’ and ‘RSS’. If the value of the directive is Atom, the writer will produce an Atom 1.0 feed. If the value is RSS, the writer will produce an RSS 2.0 feed.

Example:

GEORSS_OUTPUT_FORMAT Atom

Workbench Parameter: Output Format

GEOMETRY_OUTPUT_FORMAT

Required/Optional: Required

This directive specifies the format of the output feed’s geometry extensions. Acceptable values for this directive are ‘W3C’, ‘Simple’ or ‘GML’.

Example:

GEORSS_GEOMETRY_OUTPUT_FORMAT GML

Workbench Parameter: Geometry Format

ESCAPE_HTML

Required/Optional: Optional

This directive determines how the writer handles HTML content. If the directive is set to ‘true’ or ‘yes’, the writer will escape html content before outputting it. If the directive is set to ‘no’ or ‘false’ the writer will output the content unchanged. This only applies to feature attributes whose corresponding ‘type’ attribute is set to ‘html’.

Note: If the directive is set to ‘no’ or ‘false’ and unescaped HTML content is passed to the writer, the output may not be a valid XML. If no value is provided for this directive, the writer will assume any HTML content is already escaped, and will not escape it.

Example:

GEORSS_ESCAPE_HTML yes

Workbench Parameter: Escape HTML Content

PRETTY_PRINT

Required/Optional: Optional

GEORSS_PRETTY_PRINT YES

Workbench Parameter: Pretty Print