Add the UUA RSS Feed on your Website
Would you like to have UUA Top Stories displayed on your website? If so, then follow the below instructions and you can sit back and watch your web page update automatically as each UUA news story is published!Step 1. Cut and paste this text and save it as onyx-rss.php
Step 2. Create a new php page in the style of your web site and insert the following code into the body:
<h3><b><a href="http://www.uua.org/">Unitarian Universalist Top Stories</a></b></h3>
<br />
<?php
include 'onyx-rss.php';
$rss =& new ONYX_RSS();
$rss->parse('http://uua.org/rss/uua.xml');
while ($item = $rss->getNextItem())
{
echo "<ul><li><a href='";
echo $item['link'];
echo "' target='_blank'>";
echo $item['title'];
echo "</a><br />";
echo $item['description'];
echo " (<i>";
echo $item['pubDate'];
echo "</i>)<br /><br /></li></ul>";
}
?>
Last updated on Wednesday, October 3, 2007.
