CWM News on your website
CWM News gathers stories from churches and local press in all countries where CWM is active in order to bring you fresh stories to inform your prayers and your understanding of mission around the world.
To get the five most recent headlines from CWM News onto your website
- copy the line of code below
- paste it into the source of one of your own web pages where you want it to appear
- every time the page is visited the script will pull the latest news from the CWM website.
<script type="text/javascript" id="cwmnews" src="http://www.cwmission.org/syndication.html"></script>
See an example of the script in action below. If you have difficulty using this code feel free to contact Kenwyn Pierce for further help.
Style sheets
If you want to adjust the appearance of the headlines in your site using css:
the class for the title is
.cwmtitle { ...your css styles here... }
the class for the individual list items is
.cwmlist { ...your css styles here... }
the class for the links is
.cwmlink { ...your css styles here... }
Enter this code between
<style type="text/css">
<!--
and
-->
</style>
in the head of your webpage.
Feed me!