The Scripturizer plugin for Movable Type is scheduled to be updated this weekend. I am looking forward to this and am excited about some of the new features. Rob Hulson has posted an excellent article explaining how to install the plugin in plain english (I wish I would have had this the first time). It looks like Dean Peters will add the ability to link to the ESV on it’s own site (the links on his site do that). I think that will be great.
Tag Archive for 'scripturizer'
The Heal Your Church Website has the plugin Scripturizer which allows the linking of scripture texts. As stated in some of the comments there is a problem when you put the scripture reference in parenthesis. On that page there is a patch that tells you how to fix this. I had a terrible time getting it to work but after much guessing (I don’t know perl) I got it to work correctly.
Find the following text in the perl module scripturizer.pm:
# don't just match, replace
$text =~ s/
(?:($volumes)\s*)* # any number of vols.
\s*
($books) # the book
\s*
( $verses (?: \s* , \s* $verses)* )
/$passage = ($1 ? "$1 ":"").($2 ? $2:"").($3 ? " $3":"");
" <a href=\"$link".encodePassage($1,$2,$3)."\" title=\"Bible Gateway\">$passage<\/a>"
/gcex;
return $text;
Replace that text with the following:
# don't just match, replace
$text =~ s/
(?:($volumes)\s*)* # any number of vols.
(\s*)
($books) # the book
\s*
( $verses (?: \s* , \s* $verses)* )
/$passage = ($1 ? "$1 ": "") . ($3 ? $3 : "") . ($4 ? " $4" : "");
"$2<a href=\"$link".encodePassage($1,$3,$4)."\" title=\"Bible Gateway\">$passage<\/a>"
/gcex;
return $text;
I added the scripturizer plugin to my MovableType install. It lets you add verses like Genesis 1:1-10 to you blog post and then it will link automatically to that scripture passage in the specified version. I can do passages like above or a single verse like this (John 3:16). It is really nice.

Recent Comments