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

CarpConf( option name(s), value );

Set one or more of CaRP's configuration options
EvolutionLEKoiSE
AllAllAll>=2.7
Description:
Sets a CaRP configuration option to the specified value. You may set more than one option to the same value at the same time by listing the option names, separated by pipe characters (|). See the configuration page for a list of available configuration options.

Arguments:
  1. option name(s): The name of the option or options to set.
  2. value: The value to which to set the option or options.

Return value: none

Usage Example:
<?php
require_once '/home/geckotribe/carp/carp.php';
CarpConf('cborder','link,desc');
CarpConf('iorder','link,date,desc');
CarpConf('bitems','<ul>');
CarpConf('aitems','</ul>');
CarpConf('bi','<li>');
CarpConf('ai','</li>');
CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');
?>