Scripturizer for Javascript

Moved!

I have moved this project to my new programming/Internet blogScripturizer for Javascript.

About

This comment got me thinking – whether Scripturizer, implemented in PHP or Perl on the server side, is too difficult to use for people who have no scripting language or programming background. Dean Peter’s MovableType plugin version requires you to upload the file to your MT plugin directory, and then modify templates to invoke it. Glen Davis’ and my version for WordPress also both require uploading file(s) to WP’s plugin directory, and then activate it from inside the WP – FTP and template editing knowledge required. What about other blogging software, like TextPattern, Blosxom or Nucleus? Well, you might be able to hack the current PHP/Perl version of Scripturizer to act as a filter plugin for respective blog software, but coding knowledge required. Using PyBlosxom, Roller Weblogger or .Text? Too bad. You have to hack the regular expression yourself to port the Scripturizer over to the language the backend uses – again coding knowledge required. What about if your blog is hosted by a blog service, like Blogger or Xanga? What about if it is not a blog, but just a couple of static pages hosted on Geocity? When you have no control on the server side software – a server side solution is simply not feasible.

Thus the birth of this little script – Scripturizer for Javascript, where you can have it loaded into any web page, and this script will search for Bible references inside the document and make links to either Good News Publisher or Bible Gateway – all happening automatically on the client side. No server side programming required.

Category: General | Thu, 16 September 2004 11:45 pm

Links to This Article

  1. Fri, 3 June 2005 12:54 pm
    Christianos Blog
  2. Fri, 3 June 2005 12:54 pm
    Christianos Blog » Blog Archive » Scripturizer
  3. Wed, 3 August 2005 11:18 pm
    ESV Bible Blog
  4. Thu, 4 August 2005 11:07 am
    dillydante » Blog Archive » Wordpress Modding

Comments

1.
Avatar for Ian McKenzie
Posted by Ian McKenzie on Fri, 17 September 2004 3:14 am

Great implementation. I set it up here –>>http://www.edmontontemple.com/devotionalThought/ and it worked just fine. Thanks


2.
Avatar for felixt
Posted by felixt on Fri, 17 September 2004 6:24 pm

why no one ever thought of this before? .. good work scott!


3.
Avatar for Carlos Astorga
Posted by Carlos Astorga on Thu, 10 February 2005 5:27 pm

Thanks for the great job. How difficult would it be to made the script to hyperlink to the NET Bible? See their site here: http://www.bible.org/netbible2/index.php

Blessings,

Carlos


4.
Avatar for Pat
Posted by Pat on Tue, 10 May 2005 1:20 am

This is really great. However, it is disabling my javascript menu structure on the page. Any ideas why?


5.
Avatar for scotty
Posted by scotty on Tue, 10 May 2005 7:20 am

Pat,

Can you show me your site? One possible cure is by setting the DOM element to be parsed and scripturized, so it does not stuff up your menu. For example, if your main content is inside

<div id=”main-content”>

</div>

Then you can set up Scripturizer to only parse what’s inside “main-content”.

<script type=”text/javascript” src=”scripturizer.js”>
</script>
<script type=”text/javascript”>
Scripturizer.element = ‘main-content’;
</script>

Hopefully that makes sense.


6.
Avatar for subq
Posted by subq on Thu, 2 June 2005 3:27 pm

What file would you edit in WordPress to get this running?


7.
Avatar for scotty
Posted by scotty on Thu, 2 June 2005 4:49 pm

You can add the <script /> to header.php in your theme.


Add a comment

Gravatar is used. Email address is required but will not be displayed. Please keep your comment on topic. No spamming and/or bad language. First time poster will be moderated. Scott reserves the right to delete/edit your comments.