Prayer Feed on your Website

You can use RSS (really simple syndication) to put links to the Daily Prayers onto your own website, blog, newsreader etc.

Below are two styles of the RSS feed to choose from plus instructions on how to add the Daily Prayer RSS feed to your website.

First, please read and check you are willing to abide by our  Terms and Conditions around the correct use of the Daily Prayer feed.

RSS feed styles

A. Purple
B. Plain

How to add the RSS feed to your website

1. Paste this code into the <body> section of your XHTML page:

2. Decide which RSS feed style you would like (purple or plain - see examples above) and paste the corresponding CSS styles into the <head> section of your XHTML page:

A. Purple:

B. Plain:

Optional features

You can customise which services display on the feed by editing the code that you add in step 1 (above): simply add "?book=cw" to display Common Worship Services only or "?book=bcp" for showing just the Book of Common Prayer

A note about character sets

The RSS feed returns the news items in the "UTF-8" character set (strictly, this is the UTF-8 encoding of the Unicode character set). To ensure that all characters in the feed render correctly, your page must also use the "UTF-8" character set, otherwise some characters may render incorrectly or be replaced with a "?" by users' browsers. This is the default character set for many platforms, so you probably won't need to worry about it. However, if you need to set the character set explicitly, you can do so by inserting the following line into the <head> section of your document:

The use of different character sets can represent a complex challenge for web development and is explained in more detail by the World Wide Web Consortium.