World Council of Churches

A worldwide fellowship of churches seeking unity, a common witness and Christian service

You are here: Home / Resources / Prayer cycle / Share the Ecumenical Prayer Cycle on your website or blog

Share the Ecumenical Prayer Cycle on your website or blog

Please feel free to include the Ecumenical Prayer Cycle on your website or on your blog. There are different ways to do so. All the snippets provided here will connect your web page to the one of the World Council of Churches, ensuring that the content is updated every week.
Instructions

The Ecumenical Prayer Cycle belongs to the ecumenical movement at large.

Please feel free to include the Ecumenical Prayer Cycle on your website or on your blog. There are different ways to do so. All the snippets provided here will connect your web page to the one of the World Council of Churches, ensuring that the content is updated every week.

The prayer cycle is also available in French, German and Spanish.

 

For Blogger and websites compatible with Web Gadgets
blogger_logo.gif

A Web Gadget is an easy way to plug dynamic content into a blog. In Blogger, all you need to do is to configure the layout of your page, click "Add Gadget" and select "Add your own". The dialogue box asks you for a URL.

The URL for the Prayer Cycle Gadget is: 
http://www.oikoumene.org/en/currentprayercycle.xml

Copy this link as it is, and paste it into the dialogue box. Indicate the correct height of the gadget: 235px will do. Save. That's all.

 

For other websites

If you have access to the HTML code of your web page, you can copy and paste the following snippet of code into your page.

<div style="border:solid 1px #ddd; width:150px; background-color:#fff;">
<h4 style="text-align:center;">This week we pray for</h4>
<iframe src="http://www.oikoumene.org/en/currentprayercycle.html" allowTransparency="true" width="150" height="235" scrolling="no" frameborder="0">Your browser doesn't display Frames</iframe>
</div>

 

Customize the look of the prayer cycle item

You may also use your own CSS style sheet to customize the look of the prayer cycle item. On the given code, replace

http://www.oikoumene.org/en/currentprayercycle.html

with:

http://www.oikoumene.org/en/currentprayercycle.html?css=http://www.mysite.org/mystyles.css

where http://www.mysite.org/mystyles.css is the path to your style sheet.

For iGoogle

iGoogle is a personalized version of the search engine. You may add the prayer cycle to your iGoogle. To do so, simply click on the following button:
Add the ecumenical prayer cycle to your Google page

Code of the iGoogle button

If you want to add the iGoogle button to your website, copy and paste the following HTML code:

<a href="http://fusion.google.com/add?source=atgs&amp;moduleurl=http%3A//www.oikoumene.org/en/currentprayercycle.xml" ><img border="0" alt="Add this box to your Google page" src="http://gmodules.com/ig/images/plus_google.gif"/></a>

 

Include the prayer cycle on the server side with PHP

The prayer cycle can also be included so that it becomes part of a page. In PHP, the following piece of code will do the job:

<?php
$handle = fopen("http://www.oikoumene.org/en/currentprayercycle.html?format=raw", "rb");
$contents = stream_get_contents($handle);
fclose($handle);
echo $contents;
?>

Please note that this will provide you raw unstyled content.