3 MagpieRSS - a simple RSS integration tool
7 require_once(rss_fetch.inc);
8 $rss = fetch_rss( $url );
10 echo "Channel Title: " . $rss->channel['title'] . "<p>";
12 foreach ($rss->items as $item) {
14 $title = $item->title;
15 echo "<li><a href=$href>$title</a></li>";
21 MapieRSS is an XML-based RSS parser in PHP. It attempts to be "PHP-like",
24 Some features include:
26 * supports RSS 0.9 - 1.0, with limited RSS 2.0 support
27 * supports namespaces, and modules, including mod_content and mod_event
29 * simple, functional interface, to object oriented backend parser
30 * automatic caching of parsed RSS objects makes its easy to integrate
31 * supports conditional GET with Last-Modified, and ETag
32 * uses constants for easy override of default behaviour
36 Copyright(c) 2002 kellan@protest.net. All rights reserved.
37 This software is released under the GNU General Public License.
38 Please read the disclaimer at the top of the Snoopy.class.inc file.