Table Of Contents
 

CF_SimpleRSS2 Attributes

Author : Daniel Mackey Email : dan@digital-crew.com
The RSS component can be customised using the attributes below:

Field Required? Description
rssFeedTitle Yes The title of the RSS feed.
rssFeedDescription Yes The description of the RSS feed.
rssFeedImageURL No A optional image to display at the top of the feed.
sitelink Yes The main site link.
language No The ISO language code to use. Default is "en-us" for Us-English.
TTL No Time to live in minutes. Returned to client. Also used for caching. Default is 1440 (1 Day).
useCaching No If yes, the output is cached to reduce server processor load. Default is "No". It is highly recommended that you set this to "Yes" when going to production. The caching timeout is specified by the TTL attribute.
 
datasource Yes The datasource to use.
username Yes The datasource username.
password Yes The datasource password.
 
dbtype No The database type. Options are "MySQL", "MSSQL" or "ORACLE". Default is "MySQL". Use "MSSQL" for Microsoft SQl Server.
table Yes The database table to use.
orderby No The SQL sort order default is "id DESC".
maxItems No Number of items to show, default is 20.
idField Yes The field in the table that stores the entryId.
titleField Yes The field in the table that stores the title.
datetimeField Yes The field in the table that stores the entry date.
descriptionField Yes The field in the table that stores the full entry text.
itemLinkBase No The base URL to use for item links using the idField. If not passed, no links to items will be supplied. e.g. "http://www.site.com/viewnews.cfm?newsId=". Highly recommended.
whereClause No Used to specify the where part of the lookup. e.g. "id > 5"