Auto-link generation for Scripture references - 11/27/2009 4:30 PM
I appreciate Gizmo for helping me find this development forum. I had asked this question over at the UBB.threads forum, and we decided to move the discussion to a more appropriate location.
Now, I would be willing to help code this addon in PHP as best I can, if someone here would be willing to help me test it (as I do not administer a server with UBB.threads, only participate in a Christian forum which does).
I saw while signing up that I should not ask for any of UBB.threads' copyrighted files. Would it be possible to show me just enough of one file which I could modify to create this addon? If this were to go into an entirely new file, what mechanism would be used to link it in with the rest of the software?
On the other hand, I would be happy to post the relevant Perl code here which would need translation to PHP, if someone here would like to help incorporate this.
I know a number of Christian forums which would appreciate this feature. Thank you!
Originally Posted by AsiaWired
I would like to know how I can be of assistance in adding a feature that would be well-loved in Christian and/or religious forums. The feature would be for automatic detection of scripture references, and auto-linking them to an online scripture database such as BlueLetterBible.org, or BibleGateway.com.
I have made a Perl script with the full regex necessary to recognize Bible references by full title, or by abbreviation, including the apocryphal books and Roman numeral notations. The script was designed for the conversion of text or html documents to ThML (Theological Markup Language). It would not be difficult to convert the regex to use for autolinking the scriptural citations within a user's post. This would greatly simplify things by placing the text just a click away from the reader.
This feature could be implemented such that it was either enabled or disabled, and if enabled, the admin should be able to select which of the online databases to link to, and which version of the Bible to use by default. Just this much would satisfy me for now. In the future, we could go a step further and enable user choice of Bible version for his/her own posts, and/or Bible DB.
I'm not fluent with PHP, but would willingly cooperate with the developers to translate the Perl into functionality with the forum code.
Can this go in Version 8? Please?!
I have made a Perl script with the full regex necessary to recognize Bible references by full title, or by abbreviation, including the apocryphal books and Roman numeral notations. The script was designed for the conversion of text or html documents to ThML (Theological Markup Language). It would not be difficult to convert the regex to use for autolinking the scriptural citations within a user's post. This would greatly simplify things by placing the text just a click away from the reader.
This feature could be implemented such that it was either enabled or disabled, and if enabled, the admin should be able to select which of the online databases to link to, and which version of the Bible to use by default. Just this much would satisfy me for now. In the future, we could go a step further and enable user choice of Bible version for his/her own posts, and/or Bible DB.
I'm not fluent with PHP, but would willingly cooperate with the developers to translate the Perl into functionality with the forum code.
Can this go in Version 8? Please?!
Now, I would be willing to help code this addon in PHP as best I can, if someone here would be willing to help me test it (as I do not administer a server with UBB.threads, only participate in a Christian forum which does).
I saw while signing up that I should not ask for any of UBB.threads' copyrighted files. Would it be possible to show me just enough of one file which I could modify to create this addon? If this were to go into an entirely new file, what mechanism would be used to link it in with the rest of the software?
On the other hand, I would be happy to post the relevant Perl code here which would need translation to PHP, if someone here would like to help incorporate this.
I know a number of Christian forums which would appreciate this feature. Thank you!