[sword-devel] Config file for thml module

2010-11-26 Thread mmfma...@gmail.com
Thanks for this great software.

I have an old thml file and I want to create a module to open it in
xiphos. The command I ran for this was:

xml2gbs -fT ~/path/to/file.thml modulename

The module seems OK, I get the following files:

modulename.bdt  modulename.dat  modulename.idx

I don't know the properties of the outputo module, and xml2gbs man or
--help does not provide information about it. Therefore, I don't know
what values should I put it the modulename.conf file, I mean:

ModDrv?

CompressType?

BlockType?

The module I created is recognized by xiphos, but I shows nothing. It
would be much easier to convert my old thml file to osis format, is
there anything like thml2osis?

Thanks in advanced.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Config file for thml module

2010-11-26 Thread Brian J. Dumont
Hi mmfmarin,

If I understand correctly from the fact that you're using xml2gbs,
you're working on a ThML Genbook, right? (As opposed to a Bible,
Commentary, or Dictionary)

I'd suggest you start by looking in two places.  Firstly, look at the
conf file for another ThML Genbook.  I would suggest SacredMeditations
from the Xiphos repo as a pretty clean example from which to start.

Secondly, check out the wiki:
http://www.crosswire.org/wiki/DevTools:conf_Files

Now to your most specific questions, CompressType and BlockType don't
exist for Genbooks (which can't be compressed), (which is kind of odd
since many of our really big modules are genbooks)

Hope this helps.

In Christ,
Brian

On 11/26/2010 04:24 PM, mmfma...@gmail.com wrote:
 Thanks for this great software.

 I have an old thml file and I want to create a module to open it in
 xiphos. The command I ran for this was:

 xml2gbs -fT ~/path/to/file.thml modulename

 The module seems OK, I get the following files:

 modulename.bdt  modulename.dat  modulename.idx

 I don't know the properties of the outputo module, and xml2gbs man or
 --help does not provide information about it. Therefore, I don't know
 what values should I put it the modulename.conf file, I mean:

 ModDrv?

 CompressType?

 BlockType?

 The module I created is recognized by xiphos, but I shows nothing. It
 would be much easier to convert my old thml file to osis format, is
 there anything like thml2osis?

 Thanks in advanced.

 ___
 sword-devel mailing list: sword-devel@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] Android Sword App in Market and Open Sourced

2010-11-26 Thread Gary Lo
Hi All,

Yesterday I released an Android app which uses the Sword C++ JNI Library
that Troy has created for us. If you have an Android phone you can hit up
the link here:
http://market.android.com/search?q=pname:com.smurphete.android.esv

The source code for it exists here:
http://code.google.com/p/crossconnectbible/source/checkout

The app has been on the market for a few years now but I only recently
worked Troy's library into it. The app has roughly 85,000 downloads and good
ratings.

I am only a uni student and work on it on a hobby basis (so the app is not
professional by any means), if you would like to help me continue to develop
a free open sourced Android Bible app please let me know, there's plenty of
things that Im trying to do with it but lack the knowledge/man power.

Hope this is the right mailing list.

Cheers,
Gary
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Config file for thml module

2010-11-26 Thread Chris Little



On 11/26/2010 1:24 PM, mmfma...@gmail.com wrote:

Thanks for this great software.

I have an old thml file and I want to create a module to open it in
xiphos. The command I ran for this was:

xml2gbs -fT ~/path/to/file.thml modulename

The module seems OK, I get the following files:

modulename.bdt  modulename.dat  modulename.idx

I don't know the properties of the outputo module, and xml2gbs man or
--help does not provide information about it. Therefore, I don't know
what values should I put it the modulename.conf file, I mean:

ModDrv?


ModDrv=RawGenBook


CompressType?

BlockType?


Omit both of these.


The module I created is recognized by xiphos, but I shows nothing. It
would be much easier to convert my old thml file to osis format, is
there anything like thml2osis?


CCEL had ThML to OSIS conversion procedures (specifically, an XSLT I 
believe), but they never made it available to my knowledge. After CCEL's 
revision of their copyright policy (claiming copyright on PD works, 
including those encoded by non-CCEL parties), I don't think anyone is 
much interested in supporting this format.


--Chris

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page