Share the Ecumenical Prayer Cycle on your website or blog
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.
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:
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.
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>
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
where http://www.mysite.org/mystyles.css is the path to your style sheet.
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&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:
$handle = fopen("http://www.oikoumene.org/en/currentprayercycle.html?format=raw", "rb");
$contents = stream_get_contents($handle);
Please note that this will provide you raw unstyled content.