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

NumericEntities

NumericEntities is a plugin bundled with CaRP Evolution. Use it to convert HTML numeric entities (for example, Ӓ or 㨬) to regular characters.

Use of this plugin is generally not recommended when display a feed in a web browser (because it is unnecessary and only requires extra processing). But it is useful when the feed content will be displayed in an environment like email where support for numeric entities may be lacking.
 
Installation:
To install NumericEntities, put numericentities.php into the "plugins" folder inside the folder containing carp.php. (If no plugins folder exists, create one.)
 
Use:
To tell CaRP Evolution to use NumericEntities, first, be sure you have specified the target encoding for the feed -- for example:

     CarpConf('encodingout', 'UTF-8');

Then, load the plugin like this:

     CarpLoadPlugin('numericentities.php');