Schema

The GeoRSS reader returns features with the same schema for each of the different XML formats. The following tables explain which XML elements are mapped to which feature attributes.

When a feature is passed to the GeoRSS writer, it will be treated as an Entry type feature unless its feature type is Feed. This means that the GeoRSS writer will always treat features as if they were output by the GeoRSS reader. Any attributes that could not have been produced by the GeoRSS reader will be ignored.

If a feature has no value for certain required attributes, the GeoRSS writer will provide a default value for the attribute.

Feed Type Features

Feature Attribute

Description/Source/Destination

Title

Atom: <title>

RSS: <title>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

TitleType

Atom/RSS: type=”xxx” attribute inside the source XML element of the Title attribute.

The default value is “text”. This attribute will only be populated if the Title attribute is populated.

Version

This attribute is a string representation of the format of the XML feed. When reading an Atom feed, it is based on the XML namespace of the feed, while in RSS feeds it is based on the version=”xxx” attribute of the <rss> element.

This attribute is ignored by the GeoRSS writer.

Description

Atom 0.3: <tagline>

Atom 1.0: <subtitle>

RSS: <description>

DescriptionType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Description attribute.

The default value is “text”. This attribute will only be populated if the Description attribute is populated.

Id

Atom: <id>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

Copyright

Atom 0.3: <copyright>

Atom 1.0: <rights>

RSS: <copyright>

CopyrightType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Copyright attribute.

 

The default value is “text”. This attribute will only be populated if the Copyright attribute is populated.

PublishedDate

RSS: <pubDate>

 

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

CloudDomain RSS: domain=”xxx” attribute inside <cloud> element
CloudPath RSS: path=”xxx” attribute inside <cloud> element
CloudPort RSS: port=”xxx” attribute inside <cloud> element
CloudProtocol RSS: protocol=”xxx” attribute inside <cloud> element
CloudRegisterProcedure RSS: registerProcedure=”xxx” attribute inside <cloud> element
Language RSS: <pubDate>
ManagingEditor RSS: <managingEditor>
WebMaster RSS: <webMaster>
Docs RSS: <docs>
Ttl RSS: <ttl>
Image RSS: <image> Image must have a url, link, and title (see tags below)
ImageURI RSS: <url> inside of <image> The GeoRSS writer will provide a default value for this attribute if a feature has no value.
ImageLink RSS: <link> inside of <image> The GeoRSS writer will provide a default value for this attribute if a feature has no value.
ImageTitle RSS: <title> inside of <image> The GeoRSS writer will provide a default value for this attribute if a feature has no value.
Rating RSS: <rating>
TextInputDescription RSS: <description> inside of <textInput> element The GeoRSS writer will provide a default value for this attribute if a feature has no value.
TextInputName RSS: <name> inside of <textInput> element The GeoRSS writer will provide a default value for this attribute if a feature has no value.
TextInputLink RSS: <link> inside of <textInput> element The GeoRSS writer will provide a default value for this attribute if a feature has no value.
TextInputTitle RSS: <title> inside of <textInput> element The GeoRSS writer will provide a default value for this attribute if a feature has no value.
Hour RSS: <hour> inside of <skipHours> element
Day RSS: <day> inside of <skipDays> element

LastUpdate

Atom 0.3: <modified>

Atom 1.0: <updated>

RSS: <lastBuildDate>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

Category

Category{}.Category

Atom 1.0: term=”xxx” attribute inside <category>

RSS: <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

CategoryDomain

Category{}.Domain

Atom 1.0: scheme=”xxx” attribute inside <category>

RSS: domain=”xxx” attribute inside <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

CategoryLabel

Category{}.Label

Atom 1.0: label=”xxx” attribute inside <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

Author

Atom: <name> inside of <author>

AuthorEmail

Atom: <email> inside of <author>

AuthorURI

Atom: <uri> inside of <author>

Contributor

Atom: <name> inside of <contributor>

ContributorEmail

Atom: <email> inside of <contributor>

ContributorURI

Atom: <uri> inside of <contributor>

Generator

Atom: <generator>

RSS: <generator>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

GeneratorURI

Atom 0.3: url=”xxx” attribute inside <generator>

Atom 1.0: uri=”xxx” attribute inside <generator>

 

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

GeneratorVersion

Atom: version=”xxx” attribute inside <generator>

 

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

Icon

Atom 1.0: <icon>

Logo

Atom 1.0: <logo>

LinkRelation

Link{}.Relation

Atom: rel=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkURI

Link{}.URI

Atom: href=”xxx” attribute inside <link> (unless rel=”enclosure” )

RSS: <link>

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkType

Link{}.Type

Atom: type=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkTitle

Link{}.Title

Atom: title=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

FeatureType

The first ‘featuretypetag’ attribute that is encountered on an element in the GeoRSS xml namespace.

Relationship

The first ‘relationshiptag’ attribute that is encountered on an element in the GeoRSS xml namespace.

Elevation

The first ‘elev’ attribute that is encountered on an element in the GeoRSS xml namespace.

FloorNumber

The first ‘floor’ attribute that is encountered on an element in the GeoRSS xml namespace.

Radius

The first ‘radius’ attribute that is encountered on an element in the GeoRSS xml namespace.

Entry Type Features

Feature Attribute Source

Title

Atom: <title>

RSS: <title>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

TitleType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Title attribute.

The default value is “text”. This attribute will only be populated if the Title attribute is populated.

Summary

Atom: <summary>

SummaryType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Summary attribute.

The default value is “text”. This attribute will only be populated if the Summary attribute is populated.

Id

Atom: <id>

RSS: <guid>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

IdIsPermaLink

RSS: isPermaLink=”xxx” attribute inside <guid>

Comments RSS: <comments>

Copyright

Atom 1.0: <rights>

CopyrightType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Copyright attribute.

The default value is “text”. This attribute will only be populated if the Copyright attribute is populated.

SourceURI RSS: <source>

PublishedDate

 

Atom 0.3: <issued>

Atom 1.0: <published>

RSS: <pubDate>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

LastUpdate

Atom 0.3: <modified>

Atom 1.0: <updated>

The GeoRSS writer will provide a default value for this attribute if a feature has no value.

Category

Category{}.Category

Atom 1.0: term=”xxx” attribute inside <category>

RSS: <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

CategoryDomain

Category{}.Domain

Atom 1.0: scheme=”xxx” attribute inside <category>

RSS: domain=”xxx” attribute inside <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

CategoryLabel

Category{}.Label

Atom 1.0: label=”xxx” attribute inside <category>

The non-list attribute will contain the same information as the first entry in the list attribute.

Author

Atom: <name> inside of <author>

RSS: <author>

AuthorEmail

Atom: <email> inside of <author>

AuthorURI

Atom: <uri> inside of <author>

Contributor

Atom: <name> inside of <contributor>

ContributorEmail

Atom: <email> inside of <contributor>

ContributorURI

Atom: <uri> inside of <contributor>

Content

Atom: <content>

RSS: <description>

ContentType

Atom/RSS: type=”xxx” attribute inside the source XML tag of the Content attribute.

 

The default value is “text”. This attribute will only be populated if the Content attribute is populated.

ContentIsRemoteURL

Atom: This attribute will be set to ‘Yes’ if the value of the Content attribute came from the src=”xxx” attribute inside the <content> element.

LinkRelation

Link{}.Relation

Atom: rel=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkURI

Link{}.URI

Atom: href=”xxx” attribute inside <link> (unless rel=”enclosure” )

RSS: <link>

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkType

Link{}.Type

Atom: type=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

LinkTitle

Link{}.Title

Atom: title=”xxx” attribute inside <link> (unless rel=”enclosure” )

The non-list attribute will contain the same information as the first entry in the list attribute.

EnclosureTitle

Atom: title=”xxx” attribute inside <link> where rel=”enclosure”

EnclosureURI

Atom: href=”xxx” attribute inside <link> where rel=”enclosure”

RSS: url=”xxx” attribute inside <enclosure>

EnclosureType

Atom: type=”xxx” attribute inside <link> where rel=”enclosure”

RSS: type=”xxx” attribute inside <enclosure>

EnclosureLength

RSS: length=”xxx” attribute inside <enclosure>

FeatureType

The first ‘featuretypetag’ attribute that is encountered on an element in the GeoRSS xml namespace.

Relationship

The first ‘relationshiptag’ attribute that is encountered on an element in the GeoRSS xml namespace.

Elevation

The first ‘elev’ attribute that is encountered on an element in the GeoRSS xml namespace.

FloorNumber

The first ‘floor’ attribute that is encountered on an element in the GeoRSS xml namespace.

Radius

The first ‘radius’ attribute that is encountered on an element in the GeoRSS xml namespace.