ホーム » 読書記録 » lastRSS.php - PHP RSS parser/reader

lastRSS.php - PHP RSS parser/reader

(e.g. "http://www.freshfolder.com/rss.php"). It use cached version of file if cache is enabled and cached file is fresh enough. Returns associative array of RSS fields. Simply use print_r() function to see structure of the result (see Demo 1). 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')

RSSパーサー。

[PHP]