Porting Scripturizer to PHP

Having enough breath of God? Err. I mean, we want more scriptures!! First of all, we see from 2 Peter 1:20-21 that all scriptures are having dual authorship - it is written by men at various time in various places. But at the same time they are all inspired by God. As it is written in 2 Timothy 3:16-17, Christians should be thoroughly equipped with the Word of God, which helps to shape our Christian lives, to do His will. And from Ephesians 6:15 and Hebrews 4:12-13, we see the Word of God being symbolised as a sword, helping us to defend and attack the views of this world. Sometimes we, as Christians, can be so distracted by the things that happen around us, but we should always go back to the authority, i.e. the Bible, for it is the way God chose to speak to his people.

Okay. That should give me enough excuses to spend my morning porting the excellent Sermonizer::Scripturizer by Dean Peters to PHP, a scripting language that many webmasters prefer, which powers my church website as well. It basically provides a function that takes either a string, or an array of strings, and return scripturized version of that string, i.e. all scripture references hyperlinked to GospelCom's BibleGateway. Sometimes when I read through a Christian article, I might become too lazy to actually check all the references. With this tool, readers can just click on the link to read God's word in its context. Hopefully I will integrate it into the FOCUS website in the next few days weeks.

Updated: An updated version that can also be used as WordPress plugin is available here.