Add the UUA RSS Feed to Your Website
Would you like to have UUA Top Stories displayed on your website? If so, follow these instructions and then sit back and watch your web page update automatically as each Unitarian Universalist Association news story is published!
UUA Top Stories in Text
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>";
}
?>
UUA Top Stories as Banner Images
To add animated banner images with our latest headlines (see the slideshow, right, for samples), include the following code on your site.
Horizontal Banner
Include the following HTML in the code of your website for a 468 x 60 banner:
<a href="http://feeds.feedburner.com/~r/uua/Lxnn/~6/1"><img src="http://feeds.feedburner.com/uua/Lxnn.1.gif" alt="Unitarian Universalist Association: Top Stories" style="border:0"></a>
Square Banner
Include the following HTML in the code of your website for a 125 x 125 banner:
<a href="http://feeds.feedburner.com/~r/uua/Lxnn/~6/2"><img src="http://feeds.feedburner.com/uua/Lxnn.2.gif" alt="UUA: Top Stories" style="border:0"></a>
Last updated on Monday, January 26, 2009.

