CaRP: Caching RSS Parser - Documentation
CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
Channel Formatting Options
cborder ("channel before order") : Specifies which elements to display in the channel section which appears before the items. List any of the following, separated by commas. Note that not all newsfeeds contain each of these elements. Click on each for information about formatting that element.
- date: The last update date for the newsfeed
- desc: The description of the newsfeed
- image: The channel image
- link: The channel title displayed as a hyperlink
- title: The channel title displayed as text
- url: The URL specified in the channel link element
caorder ("channel after order") : Specifies which elements to display in the channel section which appears after the items. By default, none are displayed. The options are the same as for cborder.
Example:
require_once '/path/to/carp.php'; CarpConf('cborder','link,desc'); CarpConf('caorder','image'); CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');corder ("channel order") : This option is obsolete. Use cborder instead.
bcb ("before channel before") : Specifies text and/or HTML to display before all (not each) of the elements indicated by cborder.
bca ("before channel before") : Specifies text and/or HTML to display before all (not each) of the elements indicated by caorder.
acb ("after channel after") : Specifies text and/or HTML to display after all (not each) of the elements indicated by cborder. The default is a line break tag (<br />).
aca ("after channel after") : Specifies text and/or HTML to display after all (not each) of the elements indicated by caorder. The default is a line break tag (<br />).
Example:
require_once '/path/to/carp.php'; CarpConf('cborder','link,desc'); CarpConf('caorder','image');\ CarpConf('bcb','<div style="font-size:110%; background:#fed; border:1px solid #999; padding:5px;">'); CarpConf('acb','</div>'); CarpConf('bca','<center>'); CarpConf('aca','</center>'); CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');bc ("before channel") : This option is obsolete. Use bcb instead.
ac ("after channel") : This option is obsolete. Use acb instead.