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.

  • Abraham
    • Abr.
  • Acts of the Apostles
    • Acts
  • Alma
  • Amos
  • Articles of Faith
    • Article of Faith
    • AoF
    • A of F
    • A. of F.
    • Note: Since the Articles of Faith are generally not referenced with a chapter number, but rather directly to a verse number, a number following any of these references will be considered to be the verse number. If there is no number, it will link to the Articles of Faith as a whole. This is the only one which does not require a chapter number in order to activate the linking.
  • Colossians
    • Col.
  • Daniel
    • Dan.
  • Doctrine and Covenants
    • Doctrine & Covenants
    • Doctrine &amp; Covenants
    • D&C
    • D&amp;C
    • D & C
    • D &amp; C
  • Deuteronomy
    • Deut.
  • Ecclesiastes
    • Eccl.
  • Enos
  • Ephesians
    • Eph.
  • Esther
    • Esth.
  • Ether
  • Exodus
    • Ex.
  • Ezekiel
    • Ezek.
  • Ezra
  • First Chronicles
    • I Chronicles
    • 1 Chronicles
    • 1 Chr.
  • First Corinthians
    • I Corinthians
    • 1 Corinthians
    • 1 Cor.
  • First John
    • 1 John
    • 1 Jn.
  • First Kings
    • I Kings
    • 1 Kings
    • 1 Kgs.
  • First Nephi
    • 1st Nephi
    • 1 Nephi
    • 1 Ne.
  • First Peter
    • 1 Peter
    • 1 Pet.
  • First Samuel
    • I Samuel
    • 1 Samuel
    • 1 Sam.
  • First Thessalonians
    • I Thessalonians
    • 1 Thessalonians
    • 1 Thes.
  • First Timothy
    • 1 Timothy
    • 1 Tim.
  • Fourth Nephi
    • 4th Nephi
    • 4 Nephi
    • 4 Ne.
  • Galatians
    • Gal.
  • Genesis
    • Gen.
  • Habakkuk
    • Hab.
  • Haggai
    • Hag.
  • Hebrews
    • Heb.
  • Helaman
    • Hel.
  • Hosea
  • Isaiah
    • Isa.
  • Jacob
  • James
  • Jarom
  • Jeremiah
    • Jer.
  • Job
  • Joel
  • John
  • Jonah
  • Joshua
    • Josh.
  • Joseph Smith-History
    • Joseph Smith - History
    • JS-H
  • Joseph Smith-Matthew
    • Joseph Smith - Matthew
    • JS-M
  • Jude
  • Judges
    • Judg.
  • Lamentations
    • Lam.
  • Leviticus
    • Lev.
  • Luke
  • Malachi
    • Mal.
  • Mark
  • Matthew
    • Matt.
  • Micah
  • Mormon
    • Morm.
  • Moroni
    • Moro.
  • Moses
  • Mosiah
  • Nahum
  • Nehemiah
    • Neh.
  • Numbers
    • Num.
  • Obadiah
    • Obad.
  • Omni
  • Philemon
    • Philem.
  • Philippians
    • Philip.
  • Proverbs
    • Prov.
  • Psalms
    • Ps.
  • Revelation
    • Revelations
    • Rev.
  • Romans
    • Rom.
  • Ruth
  • Song of Solomon
    • Song.
  • Second Chronicles
    • II Chronicles
    • 2 Chronicles
    • 2 Chr.
  • Second Corinthians
    • II Corinthians
    • 2 Corinthians
    • 2 Cor.
  • Second John
    • 2 John
    • 2 Jn.
  • Second Kings
    • II Kings
    • 2 Kings
    • 2 Kgs.
  • Second Nephi
    • 2nd Nephi
    • 2 Nephi
    • 2 Ne.
  • Second Peter
    • 2 Peter
    • 2 Pet.
  • Second Samuel
    • II Samuel
    • 2 Samuel
    • 2 Sam
  • Second Thessalonians
    • II Thessalonians
    • 2 Thessalonians
    • 2 Thes.
  • Second Timothy
    • 2 Timothy
    • 2 Tim.
  • Third John
    • 3 John
    • 3 Jn.
  • Third Nephi
    • 3rd Nephi
    • 3 Nephi
    • 3 Ne.
  • Titus
  • Words of Mormon
    • W. of M.
    • WoM
    • W of M
  • Zechariah
    • Zech.
  • Zephaniah
    • Zeph.

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.