Tool for adding bsjs.js to all html files
I have a perl script that will automatically add the required <script ...</script> and onload tags to all HTML files to make a module. It also spits out list.txt, which contains a list of all the files processesed, so you can copy and paste that into the project file.
I guess I'm a bit slow, or maybe I just don't like following directions, but I'm having a rough time getting Early Christian Writings to compile. I'd be most grateful if someone could make ECW available as a module.
I've uploaded the zip file containing both the perl script and an executable. To use the perl script, you must have perl installed. If you don't have perl installed, you can use the executable, which does not require perl to be installed. If something doesn't work, feel free to make corrections to the script or let me know, and I'll correct it and re-upload.
To use, drop the script or exe into the directory containing the *.htm files and run it.
Also, if you need to rename a bunch of files (i.e., from .html to .htm, as required for the modules) check out FlexRenamer: http://hp.vector.co.jp/authors/VA014...lish/FlexRena/
Last edited by richardsugg; 11-02-2006 at 08:19 AM.
"Contend earnestly for the faith that was once for all delivered to the saints." Jude 3 (ESV)