cbfeeds

Class FeedGenerator

lucee.Component
    extended by cbfeeds.FeedGenerator

A feed generator plug-in. Currently this plug-in only generates RSS 2.0 feeds.

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init()
          Plug-in constructor.
    Method Summary
    any createFeed(struct feedStruct, [struct ColumnMap='[runtime expression]'], [string OutputFile], [boolean OutputXML])
         Create a web feed, by default it returns the xml string.
    struct getDefaultPropertyMap()
         Get the default property map.
    struct parseColumnMap(struct columnMap)
         Parse and validate a column mapper.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Plug-in constructor.


    Method Detail

    createFeed

    public any createFeed(struct feedStruct, [struct ColumnMap='[runtime expression]'], [string OutputFile], [boolean OutputXML])

    Create a web feed, by default it returns the xml string.

    Parameters:
    feedStruct - The structure used to build a feed
    ColumnMap - The column mapper to wire items to queries
    OutputFile - The file destination of where to store the generated XML (optional)
    OutputXML - Toggle to display the XML output on-screen delivered by cfcontent (optional)

    getDefaultPropertyMap

    public struct getDefaultPropertyMap()

    Get the default property map


    parseColumnMap

    public struct parseColumnMap(struct columnMap)

    Parse and validate a column mapper

    Parameters:
    columnMap - The column map to parse