lucee.Componentcontentbox.models.rss.RSSService
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- RSS Services for this application
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
CBHelper
|
true
|
false
|
|
any
|
commentService
|
true
|
false
|
|
any
|
contentService
|
true
|
false
|
|
any
|
entryService
|
true
|
false
|
|
any
|
feedGenerator
|
true
|
false
|
|
any
|
log
|
true
|
false
|
|
any
|
pageService
|
true
|
false
|
Constructor Summary | |
---|---|
init(any settingService, any cacheBox)
Constructor. |
Method Summary | |
---|---|
private any
|
buildCommentFeed([string slug=''], [string contentType=''])
Build comment feeds according to filtering elements. |
private any
|
buildContentFeed([any category=''])
Build content feeds. |
private any
|
buildEntryFeed([any category=''])
Build entries feeds. |
private any
|
buildPageFeed([any category=''])
Build pages feeds. |
private any
|
cleanupContent(any content)
Cleanup HTML to normal strings to avoid parsing issues. |
RSSService
|
clearAllCaches([boolean async='false'])
Clean All RSS caches NOW BABY, NOW!. |
RSSService
|
clearCaches([boolean comments='false'], [string slug=''])
Clean RSS caches asynchronously. |
any
|
getRSS([string slug=''], [boolean comments='false'], [any category=''], [any contentType=''])
Build RSS feeds for contentbox content objects. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
settingService
cacheBox
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- id:CBHelper@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:commentService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:contentService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:entryService@cbserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- feedGenerator@cbfeedsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:{this}serializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- id:pageService@cbserializable
- trueMethod Detail |
---|
Build comment feeds according to filtering elements
slug
- The content slug to filter oncontentType
- The content type discriminator to filter onBuild content feeds
category
- The category to filter on if neededBuild entries feeds
category
- The category to filter on if neededBuild pages feeds
category
- The category to filter on if neededCleanup HTML to normal strings to avoid parsing issues
content
Clean All RSS caches NOW BABY, NOW!
async
Clean RSS caches asynchronously
comments
- Clear comment caches or not, defaults to falseslug
- The content slug to clear onBuild RSS feeds for contentbox content objects
slug
- The page or entry slug to filter on.comments
- Retrieve the comments RSS feed or content feed, defaults to falsecategory
- Filter the content feed with categoriescontentType
- The contentType to build an RSS feed on. Empty is for the site. Available content types are [page,entry]