0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2024-12-29 22:20:42 +00:00
SRB2/tools/IRC_Bot/magpierss
2014-03-15 13:11:35 -04:00
..
extlib SRB2 2.1 release 2014-03-15 13:11:35 -04:00
AUTHORS SRB2 2.1 release 2014-03-15 13:11:35 -04:00
ChangeLog SRB2 2.1 release 2014-03-15 13:11:35 -04:00
CHANGES SRB2 2.1 release 2014-03-15 13:11:35 -04:00
INSTALL SRB2 2.1 release 2014-03-15 13:11:35 -04:00
NEWS SRB2 2.1 release 2014-03-15 13:11:35 -04:00
README SRB2 2.1 release 2014-03-15 13:11:35 -04:00
rss_cache.inc SRB2 2.1 release 2014-03-15 13:11:35 -04:00
rss_fetch.inc SRB2 2.1 release 2014-03-15 13:11:35 -04:00
rss_parse.inc SRB2 2.1 release 2014-03-15 13:11:35 -04:00
rss_utils.inc SRB2 2.1 release 2014-03-15 13:11:35 -04:00
TROUBLESHOOTING SRB2 2.1 release 2014-03-15 13:11:35 -04:00

NAME

	MagpieRSS - a simple RSS integration tool

SYNOPSIS

	require_once(rss_fetch.inc);
	$url = $_GET['url'];
	$rss = fetch_rss( $url );
	
	echo "Channel Title: " . $rss->channel['title'] . "<p>";
	echo "<ul>";
	foreach ($rss->items as $item) {
		$href = $item['link'];
		$title = $item['title'];
		echo "<li><a href=$href>$title</a></li>";
	}
	echo "</ul>";

DESCRIPTION

	MapieRSS is an XML-based RSS parser in PHP.  It attempts to be "PHP-like",
	and simple to use.
	
	Some features include:
	
	* supports RSS 0.9 - 1.0, with limited RSS 2.0 support
	* supports namespaces, and modules, including mod_content and mod_event
	* open minded [1]
	* simple, functional interface, to object oriented backend parser
	* automatic caching of parsed RSS objects makes its easy to integrate
	* supports conditional GET with Last-Modified, and ETag
	* uses constants for easy override of default behaviour 
	* heavily commented


1. By open minded I mean Magpie will accept any tag it finds in good faith that
   it was supposed to be here.  For strict validation, look elsewhere.


GETTING STARTED

	

COPYRIGHT:
	Copyright(c) 2002 kellan@protest.net. All rights reserved.
	This software is released under the GNU General Public License.
	Please read the disclaimer at the top of the Snoopy.class.inc file.