Commit | Line | Data |
---|---|---|
bc13d5d6 H |
1 | NAME |
2 | ||
3 | MagpieRSS - a simple RSS integration tool | |
4 | ||
5 | SYNOPSIS | |
6 | ||
7 | require_once(rss_fetch.inc); | |
8 | $rss = fetch_rss( $url ); | |
9 | ||
10 | echo "Channel Title: " . $rss->channel['title'] . "<p>"; | |
11 | echo "<ul>"; | |
12 | foreach ($rss->items as $item) { | |
13 | $href = $item->link; | |
14 | $title = $item->title; | |
15 | echo "<li><a href=$href>$title</a></li>"; | |
16 | } | |
17 | echo "</ul>"; | |
18 | ||
19 | DESCRIPTION | |
20 | ||
21 | MapieRSS is an XML-based RSS parser in PHP. It attempts to be "PHP-like", | |
22 | and simple to use. | |
23 | ||
24 | Some features include: | |
25 | ||
26 | * supports RSS 0.9 - 1.0, with limited RSS 2.0 support | |
27 | * supports namespaces, and modules, including mod_content and mod_event | |
28 | * open minded | |
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 | |
33 | * heavily commented | |
34 | ||
35 | COPYRIGHT: | |
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. |