WordPress.org

Plugin Directory

wiki:Scripturizer

SCRIPTURIZER PLUGIN FOR WORDPRESS

See credits to learn who did what.

WHAT IT DOES

Scripturizer will convert Bible references in your posts and comments into hyperlinks to online Bibles.

For example, it will change Romans 6:23 into something like Romans 6:23

If a translation is online, it's probably supported.

FILES IN CURRENT VERSION

OLDER VERSIONS

REPORT ERRORS

http://dev.wp-plugins.org/newticket

KNOWN BUGS

http://dev.wp-plugins.org/query?action=view&component=scripturizer&order=priority

INSTALLATION

Basic:

  1. Download scripturizer.php and put it in your Wordpress plugins directory (assuming Wordpress is installed in http://yoursite/wordpress that means http://yoursite/wordpress/wp-content/plugins).
  2. activate the plugin using the Wordpress administration interface (from the Wordpress Dashboard: Manage / Plugins)

If you want, you can edit scripturizer.php to change the default translation (NIV) and other basic options:

To change the default translation (this is the translation to which scripturizer uses for basic Bible references)

  1. Look for the following line: "define('DEFAULT_BIBLE_TRANSLATION','NIV');"
  2. Change 'NIV' to any of the recognized translation acronyms (scroll down to see a list)

To disable dynamic substitution (by default Scripturizer adds links each time a post is viewed (in other words, it doesn't change your post at all), but you can have Scripturizer make the changes whenever the post is created or edited--this would cause permanent changes to your posts).

  1. Look for the following line: "define('DYNAMIC_SUBSTITUTION',TRUE);"
  2. FALSE: Static/permanent substitution
  3. Dynamic Substitution is highly recommended as it allows you to later change the default translation and apply it retroactively as well as allows plugin upgrades to improve old posts.

To enable Libronix Support (cause Scripturizer to add Libronix Links - http://www.logos.com/support/lbs/weblinking )

  1. Look for the following line: "define('LIBRONIX_LINKS',FALSE);"
  2. TRUE: Libronix Links added
  3. FALSE: Libronix Links not added

Libronix Users:

  1. download LibronixLink.gif and put it in your wp-content directory.
  2. download scripturizer.php and put it in your wp-content/plugins directory.
  3. change define('LIBRONIX_LINKS',FALSE) to TRUE
  4. change the other defines, if you are so inclined
  5. activate the plugin using the Wordpress administration interface

HOW TO USE SCRIPTURIZER

How Scripturizer Recognizes Scripture References:

Scripturizer will recognize Scripture references that conform to somewhat loose conventions:

  • [Book] [Chapter] (such as Psalm 23, Romans 8, Genesis 12)
  • [Book] [Chapter]:[Verse] (such as Romans 3:23)
  • [Book] [Chapter]:[Verse]-[verse] (such as Matthew 5:1-3)

Where [Book] can be a full name or an abbreviation, with prefix as applicable. Note that prefixes can be in several formats:

  • 1, 2, 3 (as in 1 Corinthians)
  • I, II, II (as in II Chronicles)
  • First, Second, Third (as in Third John)
  • 1st, 2nd, 3rd (as in 2nd Thessalonians)

Scripturizer will recognize most common book abbreviations. NOTE: All abbreviated references to Judges should include the letter 'g' in order to differentiate between Judges and Jude.

Scripturizer can also recognize translation acronyms following Scripture references:

  • [Reference] [Translation] example: Romans 3:23, CEV
  • [Reference] ([Translation]) example: Malachi 3:1 (NIV)

How Scripturizer Determines Which Translation To Use:

  1. If no translation reference is found, Scripturizer uses the default translation (see above)
  2. If a recognized translation reference is found, Scripturizer uses the referenced translation. Recognized translations/acronyms include the following:
  • AMP (Amplified Version)
  • ASV (American Standard Version)
  • CEV (Contemporary English Version)
  • DARBY (Darby Translation)
  • Darby (Darby Translation)
  • ESV (English Standard Version)
  • HCSB (Holman Christian Standard Bible)
  • KJ21 (21st Century King James Version)
  • KJV (King James Version)
  • LXX (Septuagint Greek Old Testament)
  • MSG (The Message Bible)
  • NA26 (Nestle-Aland 26th edition Greek New Testament)
  • NASB (New American Standard Bible)
  • NET (New English Translation)
  • NIRV (New International Reader's Version)
  • NIV (New International Version)
  • NIV-UK (New International Version - United Kingdom)
  • NKJV (New King James version)
  • NLT (New Living Translation)
  • NRSV (New Revisted Standard Version)
  • WE (Worldwide English New Testament)
  • WYC (Wycliffe New Testament)
  • YLT (Young's Literal Translation)

DEVELOPERS

  1. If you see a feature you want to add (or a bug you want to fix), download scripturizer.php to a web-accessible directory
  2. Also download scripturizer_test.php and put it in the same directory
  3. Hack away and check your work by viewing scripturizer_test.php in your browser
  4. Submit any improvements at http://www.wp-plugins.org/ (also submit improvements to the admittedly rudimentary scripturizer_test.php)
  5. To help craft the next generation of the plugin, check out Scripturizer 2.0
Last modified 12 years ago Last modified on 04/06/06 22:12:07