topical media & game development
mashup-delicious-06-example6-7-magpierss-scripts-magpie-slashbox.php / php
<?php
define('MAGPIE_DIR', '../');
require_once(MAGPIE_DIR.'rss_fetch.inc');
_GET['rss_url'];
?>
<html
<body LINK="#999999" VLINK="#000000">
<form>
<input type="text" name="rss_url" size="40" value="<?php echo url ) {
echo "displaying: rss = fetch_rss( rss);
}
echo "<pre>";
print_r(rss) {
echo "<table cellpadding=2 cellspacing=0><tr>";
echo "<td bgcolor=#006666>";
# get the channel title and link properties off of the rss object
#
rss->channel['title'];
rss->channel['link'];
echo "<a href=title</b></font></a>";
echo "</td></tr>";
# foreach over each item in the array.
# displaying simple links
#
# we could be doing all sorts of neat things with the dublin core
# info, or the event info, or what not, but keeping it simple for now.
#
foreach (item ) {
echo "<tr><td bgcolor=#cccccc>";
echo "<a href=item['title'];
echo "</a></td></tr>";
}
echo "</table>";
}
?>
(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.