|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.frameworkSupertype
coldbox.system.plugin
coldbox.system.plugins.feedGenerator
public class feedGenerator
A feed generator plugin. This plugin only generates RSS 2.0 feeds.
Constructor Summary | |
---|---|
init(any controller)
Plugin Constructor. |
Method Summary | |
---|---|
xml |
createFeed(struct feedStruct, [struct ColumnMap], [string OutputFile])
Create an RSS 2.0 feed. |
string |
generateItems(struct feedStruct, [struct ColumnMap])
Generate the items XML |
private string |
generateRFC822Date(string targetDate)
Generate an RFC8222 Date from a date object. Conformed to GMT |
struct |
getDefaultPropertyMap()
Get the default property map |
struct |
parseColumnMap(struct columnMap)
Parse and validate a column mapper |
void |
verifyFeed(struct feedStruct)
Verify the feed structure and append auto-generated properties. |
Methods inherited from class coldbox.system.plugin |
---|
getPluginDescription, getPluginName, getPluginVersion, getpluginPath, setPluginDescription, setPluginName, setPluginVersion
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any controller)
Method Detail |
---|
public xml createFeed(struct feedStruct, [struct ColumnMap], [string OutputFile])
feedStruct
- The structure used to build a feed. Look at docs for more info.ColumnMap
- The column mapper to use for the items query.OutputFile
- The file destination of where to store the generated XMLpublic string generateItems(struct feedStruct, [struct ColumnMap])
feedStruct
- The structure used to build a feed. Look at docs for more info.ColumnMap
- The column mapper to use for the items query.private string generateRFC822Date(string targetDate)
targetDate
- The target Date. Must be a valid date.public struct getDefaultPropertyMap()
public struct parseColumnMap(struct columnMap)
columnMap
- The column map to parsepublic void verifyFeed(struct feedStruct)
feedStruct
- The feed structure
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |