server-php-xml-class-rss-parser-rssdump.php / php
<html> <head> <title>RSS Dump</title> <style> body, pre > b { font-size: medium; } pre { font-size: small; } </style> </head> <body> <?php // This example shows how the RSS_parser class can be used. include_once("class_rss_parser.php"); rss->rss_parse("http://www.phpclasses.org/browse.html/latest/latest.xml"); rss->get_channel_data(); rss->get_channel_image_data(); rss->get_channel_textinput_data(); rss->get_items_data(); // Print the information here: ?> <b>Channel data:</b><br/> <pre> <? print_r(</pre><br/> <b>Channel image data:</b><br/> <pre> <? print_r(ch_im) ?> </pre><br/> <b>Channel textinput data:</b><br/> <pre> <? print_r(</pre><br/> <b>Items data:</b><br/> <pre> <? foreach(items as <br/>\n"; foreach(item as val) { echo "<b></b> val\n"; } } ?> </pre> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.