Re: [sword-devel] SWMgr Class Reference
On Sun, May 23, 2010 at 3:34 PM, Wolfgang Schultz wrote: > Hello Matthew, > > there are modules in $HOME/.sword ($HOME being C:/users/username/) > but SWMgr doesn't find any modules on win 7 I was wrong. It looks in %APPDATA%/Sword, which is equivalent to C:/users/username/appdata/roaming Matthew ___ 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] SWMgr Class Reference
Hello Troy, thank you for this hint i have it tried but i haven't found the stdrr output on my system up to now :). However SWMgr does now find the modules on win 7 the solution was to set SWORD_PATH. here is the finshed code example for getting the modules with C++/CLI http://bibleworkplace.sourceforge.net/sword2netdoc/sword2net_8cpp_source.html That Code can be used in C# as follows List MySwordModules = new List(); SwordLibray SwordLib = new SwordLibray(); MySwordModules = SwordLib.GetBibleModules("Biblical Texts"); foreach (string SwordModul in MySwordModules) { listBox1.Items.Add(SwordModul); } wolfgang 2010/5/23 Troy A. Griffitts : > Thanks Wolfgang, > > Before you instantiate your SWMgr, you can add a line: > > #include > ... > SWLog::getSystemLog()->setLogLevel(SWLog::LOG_DEBUG); > > This will cause SWMgr to output details while hunting down modules. > > Hope this helps. Thanks for working toward providing an example to > using SWORD from .net. > > Troy > > > On 05/23/2010 12:34 PM, Wolfgang Schultz wrote: >> Hello Matthew, >> >> there are modules in $HOME/.sword ($HOME being C:/users/username/) >> but SWMgr doesn't find any modules on win 7 >> >> Here is the code from the sword2net wrapper >> >> http://bibleworkplace.sourceforge.net/sword2netdoc/sword2net_8cpp_source.html >> >> I am new in coding c++ so it could be a mistake from me. :-(( >> >> Any ideas? >> >> thx >> wolfgang >> http://www.zefania.de >> >> >> >> >> >> 2010/5/23 Matthew Talbert : >> >>> It's a complicated search path, but here is at least part of it (from >>> memory): >>> >>> $HOME/.sword ($HOME being C:/users/username/) >>> $HOME/sword >>> current working directory >>> $SWORD_PATH (env variable) >>> $ALLUSERSPROFILE/sword >>> >>> There are a few more, but those are the only ones in use (that I'm aware >>> of). >>> >>> Matthew >>> >>> On Sun, May 23, 2010 at 4:39 AM, Wolfgang Schultz >>> wrote: >>> Hello, i work on a swordlib wrapper for .NET that should provide basic access to the sword modules her my first question: where does SWMgr automatically search for modules on WIn 7? thx wolfgang http://www.zefania.de http://bibleworkplace.sourceforge.net/ubapidoc/ ___ 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 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 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] Android status...
Dear Vitaliy, The SWORD library has been ported to Android with Java wrapper classes via the NDK. Instructions for building can be found in the trunk of our svn repository under bindings/java-jni/README. http://crosswire.org/svn/sword/trunk/bindings/java-jni/README When developing the bindings, I had a test program I used to test the calls to the engine. I called it Bishop, but have not continued to develop it into a fully usable application. I could post the source, but I'd rather see what a real Android UI developer can do with the bindings instead. The port is very preliminary so please let me know if things seem not to work as you'd expect. Pypsik Pypsik wrote: >Greetings, > >what is the status(if any) on the development of a Sword based app for Android >platform? > >If the port is underway, is there a workgroup that one can become part of to >contribute in bringing this app to fruition? > >Please advise... > >Thanks much and God Bless~ > >- Vitaliy > > > >___ >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 status...
Greetings, what is the status(if any) on the development of a Sword based app for Android platform? If the port is underway, is there a workgroup that one can become part of to contribute in bringing this app to fruition? Please advise... Thanks much and God Bless~ - Vitaliy ___ 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] Progress on SOT format
To add to what Barry has said, In summary soText is a "Stand Off" markup concept. Currently in SWORD when doing a non-indexed, brute-force search, we need to strip all tags away from each entry before performing the search. This is fine on a decently powered system and a complete search of a richly marked-up Bible is done in seconds, but on a lower powered device, the filter stripping can take some time-- in fact about 2/3rds the search time can be spent preparing the text by extracting tags. soText is optimized for the search function by storing the text in the form that is used for searching. The tags are stored separately with their offset of where to insert into the plain text to reconstruct the marked-up data. So soText /rendering/ takes a little longer, but simple brute-force /searching/ is faster. Troy On 05/25/2010 12:15 PM, Barry Drake wrote: > On Tue, 2010-05-25 at 11:13 -0700, David Haslam wrote: > >> Please provide some further background. What is soT format? Where is it being >> used? >> > Background: a system proposed by Lynn Allen (he uses it in BerBible) and > has given permission to incorporate his principle though not his code, > into Sword. > > Structure: Each line begins with a two byte length pointer followed by > the text. This is followed by a series of strings containing the > non-biblical information such as footnotes etc each with markers. I do > have a text with full information somewhere. > > Overall, the verse-line is structured to allow fast searching on a slow > system as only the text need be searched as footnotes etc are not > embedded in the verse text. > > Where used: Nowhere so far, but the concept is excellent, and modules > would be as standard Sword modules, but using a different filter to > render the verses. Robin Randall offers his perl scripts to make a > SoText module in (by default) Sword import format (use imp2mod) and to > provide a proof of concept. Next stage would be to offer SoText > versions of popular modules that work via a SoText filter transparently > alongside regular modules. SoText format might be the preferred format > on slow machines such as phones. > > God bless,Barry. > ___ 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] Progress on SOT format
On Tue, 2010-05-25 at 11:13 -0700, David Haslam wrote: > Please provide some further background. What is soT format? Where is it being > used? Background: a system proposed by Lynn Allen (he uses it in BerBible) and has given permission to incorporate his principle though not his code, into Sword. Structure: Each line begins with a two byte length pointer followed by the text. This is followed by a series of strings containing the non-biblical information such as footnotes etc each with markers. I do have a text with full information somewhere. Overall, the verse-line is structured to allow fast searching on a slow system as only the text need be searched as footnotes etc are not embedded in the verse text. Where used: Nowhere so far, but the concept is excellent, and modules would be as standard Sword modules, but using a different filter to render the verses. Robin Randall offers his perl scripts to make a SoText module in (by default) Sword import format (use imp2mod) and to provide a proof of concept. Next stage would be to offer SoText versions of popular modules that work via a SoText filter transparently alongside regular modules. SoText format might be the preferred format on slow machines such as phones. God bless, Barry. -- Sent from my Dell Netbook using Ubuntu - the Windows-free environment that gives me real fresh air. ___ 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] phpSword
What's the current status of phpSword ? http://sourceforge.net/projects/phpsword/ Was this someone's bright idea that just fizzled out? David -- View this message in context: http://sword-dev.350566.n4.nabble.com/phpSword-tp2230468p2230468.html Sent from the SWORD Dev mailing list archive at Nabble.com. ___ 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] Progress on SOT format
Please provide some further background. What is soT format? Where is it being used? David -- View this message in context: http://sword-dev.350566.n4.nabble.com/Re-Progress-on-SOT-format-tp2230117p2230454.html Sent from the SWORD Dev mailing list archive at Nabble.com. ___ 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] Progress on SOT format
On Mon, 2010-05-24 at 13:42 -0700, Robin Randall wrote: > Attached is my progess with the soT format using KJV.osis text. Using > XML2SOT.pl I converted it to KJV.sot. Then I wrote a Perl Bible > utility called DOSBible.pl which will look up any verse, verse range > or concatenated ranges and display them (Bible Study Fellowship > format). I'm impressed!! The search speed is going to be amazing if this gets implemented in the Sword engine. It's just what is needed for the various less able platforms now we are spawning versions for all kinds of PDA's and phones. I hope someone will take this up. God bless, Barry. -- Sent from my Dell Netbook using Ubuntu - the Windows-free environment that gives me real fresh air. ___ 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] SlideBible Beta Testing
Hi All. SlideBible project has passed a stage of initial synthesis and now I think it is possible to open it for testing and hear the first responses and wishes. SlideBible is finger-oriented front-end for SWORD for Windows Mobile devices. It is no longer reader but not yet full-featured Bible study application.Moredetailon wiki page http://www.crosswire.org/wiki/Frontends:SlideBible There you can find links for downloading executable files for Windows Mobile and Windows 32-bit, so you do not need Windows Mobile device to test it and give feedback. Also is it possible to open new project on Crosswire bug-tracker? Blessings. ___ 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