|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldbox.system.web.feeds.SharedGenerator
coldbox.system.web.feeds.RSS2Generator
public class RSS2Generator
Methods belonging to the FeedGenerator plug-in that specifically relate to RSS creation
| Constructor Summary | |
|---|---|
init()
|
|
| Method Summary | |
|---|---|
struct |
createInstances(struct instance)
Variables used for the validation and creation of RSS 2 data |
string |
generateChannel(struct feedStruct, [struct ColumnMap='[runtime expression]'])
Generate the RSS channel as XML |
struct |
generateDefaultPropertyMap()
Generates the default property map |
string |
generateItems(struct feedStruct, [struct ColumnMap])
Generate the RSS items as XML |
private string |
generateNameSpace(struct columnMap, struct feedStruct)
Generates the XML namespaces depending on the tags in use |
void |
verifyFeed(struct feedStruct, [struct ColumnMap='[runtime expression]'])
Verify the RSS 2 feed structure and append auto-generated properties |
private string |
verifyItems(query feedItems, [struct ColumnMap='[runtime expression]'], string invalidList)
Verify the feed item data and structure |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
public struct createInstances(struct instance)
createInstances
in class
SharedGenerator
instance - public string generateChannel(struct feedStruct, [struct ColumnMap='[runtime expression]'])
feedStruct - The structure used to build a feedColumnMap - The column mapper to wire items to queriespublic struct generateDefaultPropertyMap()
public string generateItems(struct feedStruct, [struct ColumnMap])
feedStruct - The structure used to build a feedColumnMap - The column mapper to map items to queriesprivate string generateNameSpace(struct columnMap, struct feedStruct)
columnMap - The column map structurefeedStruct - The feed structurepublic void verifyFeed(struct feedStruct, [struct ColumnMap='[runtime expression]'])
feedStruct - The structure used to build a feedColumnMap - The column mapper to map items to queriesprivate string verifyItems(query feedItems, [struct ColumnMap='[runtime expression]'], string invalidList)
feedItems - The feed itemsColumnMap - The column mapper to map items to queriesinvalidList - Existing collection of debug/validation errors
|
ColdBox Platform Version 2.6.4 | ||||
| FRAMES | |||||