Links
 
cf_rssnewsfeed Click to Download
 
Description
Generates an RSS news feed from a database. Converts all strings to XML format.
 
Usage
Include after a SQL insert statement to generate or update your XML feed. This will keep your news up-to-date.
 
Attributes
Name Type Description
numrows Optional The number of database records you want to include. If ommitted it will display all records
sortfield Optional If you want to sort your feed, the database field name to sort by.
sortorder Optional If sorting your data, the order in which to do so. Valid arguments are ASC and DESC. Default is ASC
storychars Optional The number of characters to display in the news story. Default is 1000. This will display to the nearest whole word
feedcopyright Optional A copyright notice
tablename Required The name of the database table to get the data from.
datasource Required The name or variable of your datasource
uidfield Required The primary key field in the database used to get the data.
linkfield Required The page on your website that contains the news story. The tag will automatically pass the Unique ID. An example of what you should enter is http://www.yoursite.com?news.cfm&News_ID=
outputfile Required A physical path (including the xml file name) of where you want the generated file to be saved. e.g. C:\My Documents\myfile.xml
titlefield Required The database field to display the news headline.
datefield Required The database field to display the date. This must be a valid date field.
storyfield Required The database field that displays the news story.
feedtitle Required The title of your news feed. This will be displayed as the title on a news reader.
feedlink Required The full link to your website. This will usually be the home page.
feeddescription Required A brief summary of your news feed.
 
 
 
Contact Us
Tel Fax
 
Email
 
Datapartners
 
         
DP Products DP Services DP Portals


 © 2008 Datapartners. All Rights Reserved.