source: Dev/trunk/rdfapi/util/magpie/README @ 12

Last change on this file since 12 was 12, checked in by basvannuland, 14 years ago

Added RAP RDF API
Added RDF reader writer for save and load survey

File size: 1.3 KB
Line 
1NAME
2
3        MagpieRSS - a simple RSS integration tool
4
5SYNOPSIS
6
7        require_once(rss_fetch.inc);
8        $url = $_GET['url'];
9        $rss = fetch_rss( $url );
10       
11        echo "Channel Title: " . $rss->channel['title'] . "<p>";
12        echo "<ul>";
13        foreach ($rss->items as $item) {
14                $href = $item['link'];
15                $title = $item['title'];
16                echo "<li><a href=$href>$title</a></li>";
17        }
18        echo "</ul>";
19
20DESCRIPTION
21
22        MapieRSS is an XML-based RSS parser in PHP.  It attempts to be "PHP-like",
23        and simple to use.
24       
25        Some features include:
26       
27        * supports RSS 0.9 - 1.0, with limited RSS 2.0 support
28        * supports namespaces, and modules, including mod_content and mod_event
29        * open minded [1]
30        * simple, functional interface, to object oriented backend parser
31        * automatic caching of parsed RSS objects makes its easy to integrate
32        * supports conditional GET with Last-Modified, and ETag
33        * uses constants for easy override of default behaviour
34        * heavily commented
35
36
371. By open minded I mean Magpie will accept any tag it finds in good faith that
38   it was supposed to be here.  For strict validation, look elsewhere.
39
40
41GETTING STARTED
42
43       
44
45COPYRIGHT:
46        Copyright(c) 2002 kellan@protest.net. All rights reserved.
47        This software is released under the GNU General Public License.
48        Please read the disclaimer at the top of the Snoopy.class.inc file.
Note: See TracBrowser for help on using the repository browser.