tagger.js is an innovative way to quote and link to the Bible, Book of Mormon, and Doctrine & Covenants using existing scripture references. Plain references turn into hyperlinks to the passage. Links open in a new tab (by default), where referenced verses are highlighted automatically and shown in context. The following scripture versions are available, where the asterisk (*) indicates the default version: Bible (Inspired Version* or KJV), D&C (RLDS* or LDS), or Book of Mormon (1908*, RCE or LDS)

Bookmarklet:

Drag the link below to your bookmark bar to use the tagger.js bookmarklet. Bookmarklets are saved and used as normal bookmarks. As such, they are simple "one-click" tools which add functionality to your web browser. The tagger.js bookmarklet will add hyperlinks to each plain text scripture reference on the page with "one-click."

  • Try the bookmarklet in three steps:
  • 1) Drag the bookmarklet link to your bookmarks bar.
  • 2) Visit a website that has plain text references.
  •        (e.g. Zarahemla Research Foundation - Lesson 4)
  • 3) Click the bookmarklet link in your bookmarks bar.
  •        Done! Now all the references are hyperlinked.

For your website:

tagger.js makes citing scripture references easier than ever. Simply copy the html code below and paste it into your site's template file(s), before the closing body tag: </body>. Whether you have one web page on your site or many, tagger.js will instantly transform all current and future links, saving you the countless hours it would take to manually tag all of your verses. Should you ever decide to remove tagger.js, you only have to remove the couple of lines you copied to your template files(s). There are no residual effects left behind. This is because tagger.js uses javascript to insert the links after your users have downloaded the page.

HTML code:

<script type='text/javascript' src='https://dl.dropboxusercontent.com/u/112624266/js/tagger.js'></script>

REMEMBER: this line must be added JUST BEFORE THE CLOSING BODY TAG (</body>) on your website.

Options:

To change the default scripture version used by tagger.js, add any of the following before the closing script tag (</script>) shown above:

  • To change default Bible version use: 'iv' (Inspired Version) or 'kjv' (King James Version)
  • bible = 'kjv';
  • To change the default Book of Mormon version use: '1908aebom' (1908 RLDS Edition) or 'rcebom' (Restored Covenant Edition) or 'ldsbom_english' (LDS Book of Mormon- English) or 'ldsbom_spanish' (LDS Book of Mormon- Spanish)
  • bom = 'rcebom';
  • To change the default Doctrine & Covenants version use: 'd_c' (RLDS D&C) or 'lds_d_c' (LDS D&C)
  • d_c = 'lds_d_c';

Usage & Examples:

tagger.js supports many variations of book names and their standard abbreviations. It will recognize and tag references to a single book and chapter (e.g., Matthew 3 or Luke 4). It also handles single verse references (e.g. Matt 3:39) and multiple verses (e.g. Matt 3:39,42,51), where individual verses or groups of verses are separated by a comma or by a hyphen (e.g., Acts 3:2-4,16-18). tagger.js recognizes many other common abbreviations and formats (e.g., Lk 2:1; Gal 3:3; Eph 3:1).

To prevent certain verses from being linked on your website, place the text you want tagger.js to ignore in between <cite> </cite> tags or in between of <a> </a> tags.

Note: As scripture references are case sensitive, john 3:16 would not be tagged; neither would GEN 1:1.

More examples:

  • Acts 3 - Single chapters
  • John 3:16 - Single verses
  • Psa 1:1-3 - Ranges in one chapter
  • 1 Cor 5:1,4,5 - Comma separated value (csv) list of verses in one chapter