Link: String. The URL to the site that supplies the feed/channel.
Description: String. Description of the feed/channel.
PubDate: Date. Date when the last update was made to the feed.
GMT: String. Specifies the timezone of the feed. Has to been in this format: "+0200" for GMT + 2. Defaults to "+0000"
Encoding: String. Encoding for the XML declaration. Defaults to "iso-8859-1".
Language: String. Languagecode for the feed. Defaults to "en-uk".
IncludeStyleSheet: Boolean. Set to true to include an xml-stylesheet statement in the XML file. Defaults to false.
StyleSheet: String. Path to the XSL stylesheet to link in the xml-stylesheet statement.
Items: Collection of cls_CBRSS_Item
RenderRSS: Sub(). Clears the responsebuffer and renders the xml document.
AddItem: Sub(oItem). Adds the item to the collection.
NewItem: Function(). Returns a new cls_CBRSS_Item
Interface cls_CBRSS_Item
Title: String. Title of the item.
Link: String. The URL to the item.
Comments: Optional string. The URL to comments on the item. Leave blank to exclude from the xml document.
Description: String. Description of the item.
PubDate: Date. Date when the item was created.
GUID: String. Permalink to the item. This will in many cases be the same as Link.
Example
A quote straight forward script. declare the variables and create a new instance of the class. Then set the standard properties on the object.
Create a new item and fill it with data. Lastly we add it to the RSS feed. Then we add another just to see that it works.
Finally we call the RenderRSS function to output the XML document. Then we destroy the RSS object and ends the script with Response.End.