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

CarpConfAdd( option name(s), value [, before or after] );

Append text to one of CaRP's configuration options
EvolutionLEKoiSE
AllAll>=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:
  1. option name(s): The name of the option or options to set.
  2. value: The value to add to the option or options.
  3. 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');
?>