Skip to Content

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 "&nbsp; (<i>";
echo $item['pubDate'];
echo "</i>)<br /><br /></li></ul>";
}
?>

Last updated on Wednesday, October 3, 2007.

Related Content

Main Navigation

Section Navigation

Unitarian Universalist Association of Congregations | 25 Beacon Street | Boston, MA 02108 | (617) 742-2100 | info @ uua.org

© Copyright 1996 - 2008 Unitarian Universalist Association of Congregations. All Rights Reserved.

Created by Matrix Group International, Inc. ®