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, 78 ); ipworks_rss_set($res, 78, $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:
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 GetProperty and SetProperty methods to list and define each non-standard property.
Data Type
Integer