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:

0rssVersionUndefined
1rssVersion091
2rssVersion092
3rssVersion200

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]