CaRP Evolution Documentation
CaRP Evolution Documentation
twitter youtube linkedin google-plus
CaRP Evolution Box
Web This Site

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

Item Formatting Options


iorder ("item order") : Specifies which elements to display in each item. 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.



Example:
	require_once '/path/to/carp.php';
	CarpConf('iorder','image,link,date,author,desc');
	CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');
	
maxitems ("maximum number of items") : Specifies the maximum number of items to display. If the feed contains more items, some of them will not be displayed. The default value is 15.

Example:
	require_once '/path/to/carp.php';
	CarpConf('maxitems',5);
	CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');
	
bi ("before item") : Specifies text and/or HTML to display before each item.

ai ("after item") : Specifies text and/or HTML to display after each item.

bitems ("before items") : Specifies text and/or HTML to display before beginning to display items.

aitems ("after items") : Specifies text and/or HTML to display after displaying all the items.

Example:
	require_once '/path/to/carp.php';
	CarpConf('bitems','<ul>');
	CarpConf('aitems','</ul>');
	CarpConf('bi','<li>');
	CarpConf('ai','</li>');
	CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');