Recently a chap named certain Walton contacted me to ask how how we got the bible text to pop up when you hover your mouse over scripture references on the Christian Assemblies International website:
I was just checking out the feature on the website you helped create for Christian Assemblies International [Drupal.org case study]. I was especially interested in your implementation of the scripture pop-ups. I am helping a friend with their church website here in Korea and I was hoping you could be more specific with how you converted the text Bibles into database entries, how you created the input filter that detects them, and how you "beautified" your pop-ups. I am really interested in being able to do this with multiple languages too. Advice or even code would be much appreciated.
In fact these scripture pop-ups are the one thing I'm most proud of about the entire cai.org website. Mainly because it's such a logical thing to have, I've never seen it on any other church website, and if I do say so myself we executed it rather well (thanks in large part to Drupal and some other free tools). Here are a few lines my mate Craig put together to answer the question, with a few additions from myself:
Thanks for your questions about how our scripture popups work. In a nut shell it works like this:
Lastly I (John again) should mention that in all the languages we did this for, we only used Bible translations that are in the public domain. If you want to do this with a copyrighted translation, you should first check out whether it's legal to store their entire work in your own database and then use it in the way you're intending.
However I recommend you save yourself the effort and just use a public domain Bible, in English the best one is the King James Version. We actually didn't choose to use it because it's in the public domain, but rather because it's the best translation and the one that has been used by God as the basis of all true revivals in the English speaking world throughout history. It seems that the translations that God has ordained in every language around the world tend to be in the public domain - you can store, quote, print, sell them, whatever you like without fear or restriction (more detailed info from the Christian Assemblies website: Why Christians Should Use the King James Bible and Modern Translations Are Not Trustworthy!).
Which, when you think about it, makes a lot of sense. Would God bless a translation of his Word which you have to ask permission to print or distribute? Revelation 22:17: And the Spirit and the bride say, Come. And let him that heareth say, Come. And let him that is athirst come. And whosoever will, let him take the water of life freely.
Add new comment