Basic usage

// include lastRSS library
include './lastRSS.php';

// create lastRSS object
$rss = new lastRSS;

// setup transparent cache
$rss->cache_dir = './cache';
$rss->cache_time = 3600; // one hour

// load some RSS file
if ($rs = $rss->get('URL of some RSS file')) {
// here we can work with RSS fields
}
else {
die ('Error: RSS file not found...');
}