RSSVersion Property

The RSS protocol version of the current RSS feed.

Syntax

ANSI (Cross Platform)
int GetRSSVersion();
int SetRSSVersion(int iRSSVersion); Unicode (Windows) INT GetRSSVersion();
INT SetRSSVersion(INT iRSSVersion);

Possible Values

RSS_VERSION_UNDEFINED(0), 
RSS_VERSION_091(1),
RSS_VERSION_092(2),
RSS_VERSION_200(3)
@property (nonatomic,readwrite,assign,getter=RSSVersion,setter=setRSSVersion:) int RSSVersion;
- (int)RSSVersion;
- (void)setRSSVersion:(int)newRSSVersion;

Possible Values

RSS_VERSION_UNDEFINED(0), 
RSS_VERSION_091(1),
RSS_VERSION_092(2),
RSS_VERSION_200(3)
#define PID_RSS_RSSVERSION 79

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_RSS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_RSS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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 C++ Edition - Version 20.0 [Build 8307]