[sword-devel] local cache of module text

Troy A. Griffitts scribe at crosswire.org
Tue Jan 8 15:56:45 MST 2013


Please have a look at this IDL.  This is the minimum interface which I 
usually create when wrapping the SWORD engine.  It is full featured 
enough to use all the features of the engine which do no require 
extending functionality.  SWORDWeb uses this interface and our JNI 
bindings use this interface (Android bindings).


It is a very small set of classes and methods on those classes and 
shouldn't be hard to created C# bindings for these.

Hope this is useful,


On 01/08/2013 11:06 AM, Daniel Hughes wrote:
> You make a compelling case, however I need do to more then just 
> construct a GUI, I must construction fairly complete c# bindings. And 
> therein lies the complication, because swig (or maybe me) for all it's 
> promise appears to not be completely up to the task.
> Sincerely,
> Daniel
> On Tue, Jan 8, 2013 at 8:51 PM, Peter von Kaehne <refdoc at gmx.net 
> <mailto:refdoc at gmx.net>> wrote:
>     > Von: Daniel Hughes <trampster at gmail.com
>     <mailto:trampster at gmail.com>>
>     > Am I allowed to pull the text out of the sword module once it is
>     installed
>     > (using the sword libs) and put it in my local sqlite database.
>     Not a lawyer, so my advice might be of limited value. Many of our
>     modules are public domain and essentially you can do as you like.
>     Many are not and some are quite restrictively licensed. Most of
>     the restrictions are around (re)distribution, so that does not
>     apply here. Which leaves me with "I do not know" and "you probably
>     need to ask a lawyer" and "his advice might vary from module to
>     module and license to license". Or not and everything is easy as
>     it is just on the user's computer.
>     On the more technical side, you would loose an awful lot. Our
>     better modules have paragraphing, sectioning, titles, footnotes,
>     Strongs, morphology etc included and you would either loose that
>     or reinvent that.
>     >From our engine you would get readily formatted HTML (or whatever
>     else you ask it) after application of a variety of arbitrary (or
>     user chosen) filters which add or remove notes, add or remove
>     strongs, add or remove Greek accents, Hebrew vowels and other
>     stuff, add or remove xrefs, transliterate, add ruby notation (for
>     Japanese modules) etc etc. And etc.
>     You would get for free all the logic to deal with different canons
>     and versification systems. You would get for free any future
>     improvements to our engine. You get indexed search with quite
>     interesting ways of looking at the text built in.
>     For all these things you would in essence only need to construct a
>     GUI and interface, while in your current sqlite backend you either
>     do not have them or you need to re-invent them.
>     Yours
>     Peter
>     _______________________________________________
>     sword-devel mailing list: sword-devel at crosswire.org
>     <mailto:sword-devel at crosswire.org>
>     http://www.crosswire.org/mailman/listinfo/sword-devel
>     Instructions to unsubscribe/change your settings at above page
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130108/1760f24a/attachment.html>

More information about the sword-devel mailing list