I've wanted the ESV bible on MySword for a long time and now I have it. I have written a Perl script that parses the website http://www.esvbible.org and translates the content into a MySword module. The script is made available in this post, but first I want to stress that you should only use the script if your local copyright law enables you to use the content of a website for something else than online browsing. If in doubt, do not use this script! In no way do I take any responsibility for someone else to violate copyright laws.
This script is not released on an open source license. You may freely give unmodified versions of the script (or the Windows executable) to others but you are not allowed to distribute modified versions.
Now that I have that off my chest, some details. The online version has footnotes and cross references. The footnotes are rendered as translators' notes and the cross references are rendered as cross references in MySword. On the website the references have an accompanying text which is not rendered by default. You can use the "--reftext" option to render the text as a translators' note, but most of the tome the text is just a summation of the references themselves. The documentation is available with the "--help" option.
I do not have an option to render the text without the references. If you have a premium or deluxe version of MySword you can turn them off, so if you find them annoying, you have a reason to make a generous donation to the MySword developers I made life easy for Windows users. I used the PAR::Packer module to create a Windows executable version of the script (this factually creates a temporary Perl environment to run the script, so the start up is slow). I created it on a 32-bit Windows XP environment and tested it both on 32-bit Windows XP and 64-bit Windows Server 2008 (both without Perl), so it should work on most environments. Just unpack the esvorg2mysword.exe.zip file, copy the executable somewhere on your disk, double-click it and follow the instructions in the text window that opens. If you want to pass options to the executable (e.g. for the help text), just open a cmd window, change to the directory where the executable is stored and run the executable with the requited option (e.g.:
esvorg2mysword.exe --help).
If this does not work for you, you can install Strawberry Perl and use the script itself to generate the module. See the instructions for my other Perl module on how to do that.Update June 10th 2013:
The script is currently broken. The website has been changed which causes all verses to be recorded twice. I currently lack the time to modify the script but will take a look at it in a couple of weeks (or if someone else would like to take a look at it, (s)he'd be more than welcome ;-) ).
Update Feb 24, 2015:
The website has changed yet again but the change was minor so it could be easily fixed. A new module has been attached.
The attachments are: (Perl script) (Windows executable)
(new perl script)
esvorg2mysword-20150209.zip 10.09K 224 downloads
Here's a screen dump to wet your appetite:
Regards,
Rob
Edited by Atheist Rob, 24 February 2015 - 03:31 PM.