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

CarpAggregate( cache file(s) );

CarpInterleave( cache file(s) );

Combine and display the results of multiple calls to CarpFilter and CarpCacheFilter or CarpGroupFilter();
CarpAggregate
EvolutionLEKoiSE
AllAll>=2.7>=2.7
CarpInterleave
EvolutionLEKoiSE
4.0All>=4.0>=4.0
Description:
Retrieves the most recent items from the cache file or files listed and displays them, newest first (CarpAggregate), or selected round robin from each of the feeds (CarpInterleave). Note that with CarpAggregate, the ordering of items may not be correct unless all of the source newsfeeds supply either a pubDate or dc:date for each item.

Arguments:
  1. cache file(s): The name or names of any number of cache files created by CarpFilter. When specifying more than one cache file, separate the filenames with a pipe character (|). Do not include spaces before or after the filenames.

Return value: none

Usage Example:
<?php
require_once '/home/geckotribe/carp/carp.php';
CarpConf('cborder','');
CarpConf('caorder','link');
CarpConf('filterin','Gecko Tribe');
CarpCacheFilter('http://www.geckotribe.com/press/rss/pr.rss','filtered1');
CarpFilter('/home/geckotribe/public_html/feeds/myfeed.rss','filtered2');
CarpAggregate('filtered1|filtered2');
?>