rss_version Property
The RSS protocol version of the current RSS feed.
Syntax
def get_rss_version() -> int: ... def set_rss_version(value: int) -> None: ...
rss_version = property(get_rss_version, set_rss_version)
Default Value
3
Remarks
This property contains the protocol version to which the current RSS feed conforms. Each version has slightly different requirements and a different set of defined standard properties. When generating an RSS feed, the class will check this value and throw an error for missing required properties.
The following are the values currently recognized by the class:
0 | rssVersionUndefined |
1 | rssVersion091 |
2 | rssVersion092 |
3 | rssVersion200 |
In order to set properties not defined in the given version, use the namespaces properties to list and define namespaces and the get_property and set_property methods to list and define each non-standard property.