Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
770 florian 1
NAME
2
 
3
	MagpieRSS - a simple RSS integration tool
4
 
5
SYNOPSIS
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
 
20
DESCRIPTION
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
 
37
1. 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
 
41
GETTING STARTED
42
 
43
 
44
 
45
COPYRIGHT:
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.