When serialized to Atom 1.0, a SyndicationFeed instance is written to a <feed> element. The following table shows how each property defined in the SyndicationFeed class is serialized to Atom 1.0.
SyndicationFeed property | Serialized form |
|---|
AttributeExtensions | An attribute in the <feed> element for each attribute in the collection. |
Authors | An <author> element for each SyndicationPerson in the collection. |
Categories | A <category> element for each SyndicationCategory in the collection. |
Contributors | A <contributor> element for each SyndicationPerson in the collection. |
Copyright | A <rights> element. |
Description | A <subtitle> element. |
ElementExtensions | Each element in the collection is written within the <feed> element. |
Generator | A <generator> element. |
Id | An <id>element. |
ImageUri | A <logo> element. |
Items | An <entry> element for each SyndicationItem in the collection. |
Language | Not serialized. |
LastUpdatedTime | An <updated> element. |
Links | A <link> element for each SyndicationLink in the collection. |
Title | A <title> element. |
When serialized to RSS 2.0, a SyndicationFeed instance is written to an <rss> element. The following table shows how each property defined in the SyndicationFeed class is serialized to RSS 2.0.
SyndicationFeed property | Serialized form |
|---|
AttributeExtensions | An attribute in the <channel> element for each attribute in the collection. |
Authors | A <managingEditor> element if only one SyndicationPerson is in the collection; otherwise, an <a10:author> element for each SyndicationPerson in the collection. |
Categories | A <category> element for each SyndicationCategory in the collection. |
Contributors | An <a10:contributor> element for each SyndicationPerson in the collection. |
Copyright | A <copyright> element. |
Description | A <description> element. |
ElementExtensions | Each element in the collection is written within the <channel> element. |
Generator | A <generator> element. |
Id | An <a10:id> element. |
ImageUri | An <image> element. |
Items | An <item> element for each SyndicationItem in the collection. |
Language | A <language> element. |
LastUpdatedTime | A <lastBuildDate> element. |
Links | An <a10:link> element for each SyndicationLink in the collection. |
Title | A <title> element. |