[sword-devel] sword.js

Stephan info at tetzels.de
Mon Jul 8 05:29:13 MST 2013


Hi,

I've started to work on a pure Javascript module to read the bible 
modules from CrossWire in a browser environment (sources: 
https://github.com/zefanja/swordjs , Demo: http://zefanjas.de/swordjs/ 
-> You have to install a module first from here 
http://crosswire.org/ftpmirror/pub/sword/packages/rawzip/). Don't expect 
to much, the basic things are working, but there is still a lot of work 
to be done...

I want to provide an API to get a list of all modules in a repository. I 
think libsword takes the mods.d.tar.gz file in every repo and unpack it 
on the device to get this list.

Is it possible to add the same file as a zip compressed one in every 
repository, because unzipping in the browser is working, but I didn't 
find a (working) module to untar a file.

That would be great.

Blessings,
Stephan




More information about the sword-devel mailing list