lucee.Componentcoldbox.system.FrameworkSupertype
contentbox.models.ui.BaseWidget
contentbox.widgets.RSS
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A widget that reads an RSS feed and displays the items
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
private any
|
buildList(any entries, boolean showBody, any linkTarget)
Build List of rss items. |
any
|
renderIt(any feedURL, [numeric maxItems='5'], [boolean showBody='true'], [string linkTarget='_blank'], [string title=''], [string titleLevel='2'])
A widget that reads an RSS feed and displays the items. |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
Build List of rss items
entries
- queryshowBody
- show body of content or notlinkTarget
- the link targetA widget that reads an RSS feed and displays the items
renderIt
in class
BaseWidget
feedURL
- The rss feed URLmaxItems
- The maximum number of items to display, default is 5showBody
- Show the body of the feed item or not, default is truelinkTarget
- The link target (HTML) for the RSS item link, defaults to _blanktitle
- The title to show before the dropdown or list, defaults to H2titleLevel
- The H{level} to use, by default we use H2