Flex Format for CaRP EvolutionThe extendable version of CaRP: caching RSS parser Flex Format is a plugin bundled with CaRP Evolution. It enables you to apply different formatting to individual newsfeed items. For example, you might display the headline and full description for the first three items, the headline and up to 200 characters of the description for the next five, and just the headlines of the rest. You can also vary fonts, colors, and other formatting for different items. Installation: To install Flex Format, put flexformat.php into the "plugins" folder inside the folder containing carp.php. (If no plugins folder exists, create one.) Use: To use this plugin, do the following:
CarpConf('iorder','link,desc'); CarpConf('maxidesc',0); FlexFormatConf(4,'maxidesc',200); FlexFormatConf(9,'iorder','link'); FlexFormatConf(9,'bilink','• '); This example will show the headline link and full description for the first three items. Beginning with item 4, it will truncate the description to 200 characters if it is longer. Beginning with item 9, it will only show the link, and will display a bullet (•) in front of the headline link. |
Purchase CaRP Evolution on the CaRP Homepage CaRP Evolution Plugins CaRP Evolution API Documentation |