WEB-INF.cftags.component coldbox.system.web.feeds.SharedGenerator
Methods belonging to the FeedGenerator plug-in that specifically relate to feed creation
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
private string
|
RSSFormat(string string)
A CFML XMLFormat() tag replacement that converts high characters to XML safe Unicode. |
private string
|
URLFormat(string string)
A CFML XMLFormat() tag replacement that converts URL strings into XML safe, escaped mark-up. |
string
|
XSLFormat()
An Extensible Stylesheet (XSL) used to cleanup whitespace within our generated XML code. |
string
|
cclicenseGenChannel(struct fs)
Generate Creative Commons extension channel XML. |
string
|
cclicenseGenItem(query items, struct map, numeric currentrow)
Generate Creative Commons extension item XML. |
string
|
cclicenseValChannel(struct fs)
Validate Creative Commons extension channel element. |
string
|
cclicenseValItem(query fi, struct map, numeric currentrow)
Validate Creative Commons extension item element. |
struct
|
createInstances(struct instance)
Variables used for the validation and creation of feed data. |
string
|
dcmtGenChannel(struct fs)
Generate DCMI Metadata terms extension channel XML. |
string
|
dcmtGenItem(query items, struct map, numeric currentrow)
Generate DCMI Metadata terms extension item XML. |
private string
|
generateExtensionNameSpace(string keys)
Generates the XML namespaces for feed extensions depending on the tags in use. |
struct
|
generateExtensionPropertyMap()
Generates the extensions default property map. |
private string
|
generateNum1kSeparator(numeric number, [string seperator=','])
Inserts thousand-seperators into a number. |
private string
|
generateNumSuffix(numeric number, [string seperator=','])
Attaches an English oral suffix (st,nd,rd,th) to a number. |
private string
|
generateRFC822Date(string targetDate)
Generate an RFC8222 Date from a date object that conforms to GMT. |
string
|
itunesGenChannel(struct fs)
Generate Apple iTunes extension channel XML. |
string
|
itunesGenItem(query items, struct map, numeric currentrow)
Generate Apple iTunes extension item XML. |
string
|
itunesValChannel(struct fs)
Validate Apple iTunes extension channel element. |
string
|
ituneseValItem(query fi, struct map, numeric currentrow)
Validate Apple iTunes extension item element. |
string
|
opensearchGenChannel(struct fs)
Generate OpenSearch extension channel XML. |
string
|
opensearchValChannel(struct fs)
Validate OpenSearch extension channel elements. |
struct
|
parseColumnMap(struct columnMap)
Parse and validate a column mapper. |
string
|
slashGenItem(query items, struct map, numeric currentrow)
Generate Slash extension channel XML. |
string
|
slashValItem(query fi, struct map, numeric currentrow)
Validate Slash extension item element. |
private struct
|
validateDaysList(string targetList)
Validate list object against the RSS skipDays element requirements. |
private struct
|
validateHoursList(string targetList)
Validate list object against the RSS skipHours element requirements. |
private boolean
|
validateItunesDuration(string targetTime)
Force iTunes duration formatting. |
private boolean
|
validateNNInteger(string targetInt)
Validate number object as a non-negative integer (0,1,2,3. |
private boolean
|
validatePerson(string targetString)
Validate string object against the RSS person scheme containing an e-mail and an optional name. |
private boolean
|
validateRFC1766(string targetString)
Validate string object against RFC1766 'Tags for the Identification of Languages'. |
private boolean
|
validateRFC3066(string targetString)
RFC3066 'Tags for the Identification of Languages'. |
private boolean
|
validateRFC822Date(string targetDate)
Validate date object against RFC822 'Date and Time Specification'. |
private boolean
|
validateURI(string targetString)
Validate string object against a HTTP or HTTPS, FTP, news, mailto URI. |
private boolean
|
validateURL(string targetString)
Validate string object against a URL. |
private boolean
|
validatecommonslicense(string targetString)
Validate targetString object as a URL pointing to the Creative Commons website. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Method Detail |
---|
A CFML XMLFormat() tag replacement that converts high characters to XML safe Unicode
string
- The target stringA CFML XMLFormat() tag replacement that converts URL strings into XML safe, escaped mark-up
string
- The target stringAn Extensible Stylesheet (XSL) used to cleanup whitespace within our generated XML code
Generate Creative Commons extension channel XML
fs
- The structure used to build a feedGenerate Creative Commons extension item XML
items
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberValidate Creative Commons extension channel element
fs
- The structure used to build a feedValidate Creative Commons extension item element
fi
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberVariables used for the validation and creation of feed data
instance
- Generate DCMI Metadata terms extension channel XML
fs
- The structure used to build a feedGenerate DCMI Metadata terms extension item XML
items
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberGenerates the XML namespaces for feed extensions depending on the tags in use
keys
- A list of distinct column and structures keysGenerates the extensions default property map
Inserts thousand-seperators into a number
number
- Integerseperator
- Seperator characterAttaches an English oral suffix (st,nd,rd,th) to a number
number
- Integerseperator
- Seperator characterGenerate an RFC8222 Date from a date object that conforms to GMT
targetDate
- The target date which must be a valid dateGenerate Apple iTunes extension channel XML
fs
- The structure used to build a feedGenerate Apple iTunes extension item XML
items
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberValidate Apple iTunes extension channel element
fs
- The structure used to build a feedValidate Apple iTunes extension item element
fi
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberGenerate OpenSearch extension channel XML
fs
- The structure used to build a feedValidate OpenSearch extension channel elements
fs
- The structure used to build a feedParse and validate a column mapper
columnMap
- The column map to parseGenerate Slash extension channel XML
items
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberValidate Slash extension item element
fi
- The feed itemsmap
- The column mapper to map items to queriescurrentrow
- Current item numberValidate list object against the RSS skipDays element requirements
targetList
- The target listValidate list object against the RSS skipHours element requirements
targetList
- The target listForce iTunes duration formatting
targetTime
- The target duration timeValidate number object as a non-negative integer (0,1,2,3..)
targetInt
- The target integerValidate string object against the RSS person scheme containing an e-mail and an optional name
targetString
- The target stringValidate string object against RFC1766 'Tags for the Identification of Languages'
targetString
- The target string.RFC3066 'Tags for the Identification of Languages'
targetString
- The target stringValidate date object against RFC822 'Date and Time Specification'
targetDate
- The target date.Validate string object against a HTTP or HTTPS, FTP, news, mailto URI
targetString
- The target stringValidate string object against a URL
targetString
- The target stringValidate targetString object as a URL pointing to the Creative Commons website
targetString
- The target string