CaRP: Caching RSS Parser - Documentation
CarpConfAdd( option name(s), value [, before or after] );
Append text to one of CaRP's configuration options
| GPL |
Koi |
Evolution |
| >=3.1.5 |
>=3.1.5 |
>=3.1.5 |
Description:
Prepends or appends text to an existing CaRP configuration option.
You may add to more than one option at the same time by listing the option names, separated by pipe characters (|).
Arguments:
- option name(s): The name of the option or options to set.
- value: The value to add to the option or options.
- before or after: By default, the text is added to the end of the existing value.
To add at the beginning instead, do this: CarpConfAdd('option_name','value',0);
Return value: none
Usage Example:
<?php
require_once '/home/geckotribe/carp/carp.php';
CarpConfAdd('descriptiontags','|a|/a');
CarpCacheShow('http://www.geckotribe.com/press/rss/pr.rss');
?>