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

Content-Based Filtering Settings


filterin: Display only items which contain any of a specified set of words or phrases. When specifying more than one word or phrase, separate each with a "pipe" character (|). By default, CaRP checks both the title and description fields of each item for the indicated words. To check only one or the other, specify that word or phrase like "title:word" or "desc:phrase to search for". Note that you must specify title or description for each word or phrase that you wish to only check one field for. For example, if filterin is set to "title:microsoft|apple", the title will be checked for "microsoft", and both the title and description will be checked for "apple". Note that you cannot search for pipe characters and colons.

filterout: Do not display items containing any of the indicated words or phrases. The format is the same as filterin. You may use both filterin and filterout at the same time.

Example
	require_once '/path/to/carp.php';
	CarpConf('filterin','microsoft|apple');
	CarpConf('filterout','title:browser|desc:netscape|Justice Department');
	CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');
	
skipdups: [CaRP Koi and CaRP Evolution only] Determines whether or not to display items that appear to be duplicates. An item is considered to be a duplicate if its title (headline) is identical to one appearing earlier in the newsfeed or aggregation. Value values are:

Example
	require_once '/path/to/carp.php';
	CarpConf('skipdups',0);
	CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');