RSSVersion Property

The RSS protocol version of the current RSS feed.

Syntax

public int getRSSVersion();
public void setRSSVersion(int RSSVersion);

Enumerated values: public final static int rssVersionUndefined = 0; public final static int rssVersion091 = 1; public final static int rssVersion092 = 2; public final static int rssVersion200 = 3;

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 collection to list and define namespaces and the GetProperty and SetProperty methods to list and define each non-standard property.

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