I switched my blog to Wordpress over the weekend. I wasn’t too impressed with the direction of MovableType and this will give me lots more and better customizing options (without learning perl). Also check out my new theme.
Tag Archive for 'MovableType'
Dean Peters has updated the Scripturizer plugin. The update includes some basic bug fixes and some new features that are really nice.
For those unfamiliar with Scripturizer, it is a plugin for the Movable Type blogging system. When you include Bible references such as Romans 3:23 or Romans 1:16-32 the system will automatically convert them to links to the passage on either the Bible Gateway or ESV (for those who choose the ESV) website.
The plugin provides plenty of ways to recognize and link your reference. I will illustrate a few with text. Romans 3: 23 is a classic verse which sums Paul’s argument in Romans that all (both Jew and Gentile) are sinners. He starts this argument around Romans 1: 16 - 17 and extends it all the way through Romans 2 and then conludes with Romans 3. Some significant verses throughout this passage include Romans 1:16-17, 2:1&29, 3:10-20.
The parenthesis problem involved with spaces has also been fixed (John 3:16).
Update: Since I have updated to MT 3.1 I have not gotten scripturizer to work. That is the reason you don’t see anything linked as I state in the post.
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.
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.
