|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.rss.RSSService
public class RSSService
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ******************************************************************************* RSS Services for this application
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 |
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 WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any settingService, any cacheBox)
settingService
cacheBox
Method Detail |
---|
private any buildCommentFeed([string slug=''], [string contentType=''])
slug
- The content slug to filter oncontentType
- The content type discriminator to filter onprivate any buildContentFeed([any category=''])
category
- The category to filter on if neededprivate any buildEntryFeed([any category=''])
category
- The category to filter on if neededprivate any buildPageFeed([any category=''])
category
- The category to filter on if neededpublic RSSService clearAllCaches([boolean async='false'])
async
public RSSService clearCaches([boolean comments='false'], [string slug=''])
comments
- Clear comment caches or not, defaults to falseslug
- The content slug to clear onpublic any getRSS([string slug=''], [boolean comments='false'], [any category=''], [any contentType=''])
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]
|
ContentBox Core API 1.5.7 | ||||
FRAMES |