Documentation for Movable Type Plugin: LDS Scripture Linker
LDS Scripture Linker will automatically link scripture references to the online version of the scriptures found at http://scriptures.lds.org. References to The Bible, The Book of Mormon, The Doctrine and Covenants, and The Pearl of Great Price are all included. To see an example of the plugin in action, go here.
The plugin can be downloaded
here. Simply place the file LDSscriptures.pl
into your plugins
directory.
The plugin works as a filter, so you can activate it by including lds_scriptures="1"
as an attribute of a Movable Type container tag. For example:
<$MTEntryBody lds_scriptures="1" $>
That's all you have to do. Any scripture references found will be linked automatically.
The only current configuration option is to have a Javascript popup window
instead of a regular browser window. This is done by setting lds_scriptures="2"
.
The references the plugin looks for must include a book name (or abbreviation) followed by a chapter. Verses are optional, and can be either a single verse or multiple verses. Here are some examples:
The recognized book names/abbreviations are listed below. A period after the abbreviation is optional.
|
|
|
Known problems: If you follow a scripture reference with a comma, the comma will be included in the link. This happens because of the possibility that the reference could include multiple verses separated by commas. You can avoid this by putting parentheses around the reference (or by not following it with a comma.)
NOTE: This plugin has not be tested with MT3. Since I moved off Movable Type a couple of years ago, I'm no longer familiar enough with it to offer support if you run into problems with the plugin. Sorry, but if it doesn't work, I can't help you.