
CZE | ENG
lastRSS.php is simple yet powerfull PHP class to parse RSS/RDF files v0.9/0.91. Uses quick regullar expressions. Result is associative array with RSS fields.
Features:
Future plans:
There are only two public methods in the lastRSS.php class - SetCache() and Get().
$rss_url (e.g. "http://slashdot.org/slashdot.rdf"). Ofcourse 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).Demo 1 - Show structure of result array using print_r() - (Slashdot RSS as an example).
(Demo 1 | Source code)
Demo 2 - Show RSS of Freshmeat RSS in nice look.
(Demo 2 | Source code)
Demo 3 - Very simple RSS agregator using lastRSS
(Demo 3 | Source code)
Questions? Comments?
Vojtech Semecky, webmaster@webdot.cz
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Text link
http://www.webdot.cz/lastrss/