RSSVersion Property

The RSS protocol version of the current RSS feed.

Object Oriented Interface

public function getRSSVersion();
public function setRSSVersion($value);

Procedural Interface

ipworks_rss_get($res, 79 );
ipworks_rss_set($res, 79, $value );

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

Data Type

Integer

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