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
CarpConf( option name(s), value );
Set one or more of CaRP's configuration optionsEvolution | LE | Koi | SE |
All | All | All | >=2.7 |
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:
- option name(s): The name of the option or options to set.
- 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'); ?>