Put the Voice of the Martyrs headlines on your site

This is a re-published (& slightly updated) article, orginaly published on my first blog The Journal (now offline, redirecting here)

*cue Tim Shaw voice-over* “Have you ever wanted to have the latest news on the persecution of Christians around the world on your website? Well now you can!

ahem…

I’ve written a perl script to extract the RSS file from the Voice of the Martyrs website.

This takes the rss file and parses it using the XML::RSS module. So obviously you will need to be running a server that has both perl and the XML module installed. By default the script creates a div that looks like this (using the default css file), but it can be edited to change the HTML produced.

Continue reading