CaRP: Caching RSS Parser - Manual
Version 3.5.4 (10/7/2004)
NOTE: This version of CaRP is obsolete.
This documentation is being left here for those who have not yet upgraded to the current version.
Download |
Installation |
Configuration |
Upgrading from version 2 |
Functions |
Examples |
Donations
Old documentation: Version 2
Configuration
Configuration is done by changing the values in the array $carpconf.
You may
change the defaults by modifying carp.php itsself.
You may
override the defaults for a particular RSS feed by inserting lines like "CarpConf('cachepath','/my/private/cache/path');"
after the line where you "require_once" CaRP, and before calling CarpShow().
The following options are defined in $carpconf, and are color-coded based on the likelihood that you'll want to change them, as follows:
usually changed,
often changed,
sometimes changed,
rarely changed
Cache Control |
Content-Based Filtering |
Display Formatting |
Miscellaneous |
Network Connection |
XML Encoding
XML Encoding:
- encodingin: Specify the character encoding of the RSS feed.
Valid values are ISO-8859-1 (the default), UTF-8 and US-ASCII.
If the newsfeed specifies its own encoding, CaRP Koi and CaRP Evolution (but not CaRP GPL) will detect the encoding and override any value set here.
- encodingout: If you wish to have the output converted from the character encoding specified by "encodingin", specify which encoding you wish to convert to.
Valid values are the same as for "encodingin".