Home » Our Association » News » RSS » Use RSS on Your Website
Add a UUA RSS Feed to Your Website
To display one of our story feeds on your website, follow these instructions and then sit back and watch your web page update automatically as each Unitarian Universalist Association (UUA) article or resource is published!
Display a Feed 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 website and insert the following code into the body. Be sure this page is saved in the same folder as the onyx-rss.php file.
<h1>Unitarian Universalist Top Stories</h1>
<?php
include 'onyx-rss.php';
$rss =& new ONYX_RSS();
$rss->parse('http://feeds.feedburner.com/uua');
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>)</li></ul>";
}
?>
Include a Different or Additional Feeds
The sample above will embed the UUA Top Stories feed on your website. To include a different feed from the UUA or from UU World magazine, follow the instructions above, and simply change the title (Unitarian Universalist Top Stories) and URL (http://feeds.feedburner.com/uua) in the code from Step 2 to one of the following.
To include more than one feed on a page, duplicate all the code from Step 2 (replacing the title and URL for each of the feeds you want), but remove the third line (include 'onyx-rss.php';) from all but the first instance.
- UU World's Latest Stories:
http://feeds.feedburner.com/uuworld
Featuring the most recent headlines from Spirit, Ideas, Life, and News.
- Unitarian Universalists in the Media:
http://feeds.feedburner.com/UUsinthemedia
Featuring entries from UU World's news blog, which tracks stories about UUs from other sites.
- The Interdependent Web:
http://feeds.feedburner.com/interdependentweb
Featuring entries from UU World's weekly roundup of UU blogs and websites.
- UU Parenting:
http://feeds.feedburner.com/uuparenting
A weekly discussion about parenting and liberal religion.
- General Assembly Blog:
http://feeds.feedburner.com/uuworldGA
Featuring updates from the annual General Assembly of the Unitarian Universalist Association.
- UUA.org Updates:
http://feeds.feedburner.com/uua-updates
Recently updated resources on UUA.org.
Sample Sites
See what others have done:
- Palomar UU Fellowship
- South Church
- UU Fellowship of Jonesboro
- A Jersey Girl in Kentucky: Rev. Cynthia P. Cain's Blog
UUA Top Stories as Banner Images
To add an animated banner image with the UUA's latest headlines, 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>
For more information contact web @ uua.org.
This work is made possible by the generosity of individual donors and congregations. Please consider making a donation today.
Last updated on Thursday, January 6, 2011.
Updated and Popular
Popular New Searches
For Newcomers
Learn more about the Beliefs & Principles of Unitarian Universalism, or read our online magazine, UU World, for features on today's Unitarian Universalists. Visit an online UU church, or find a congregation near you.

