Hi Troy,
I just tried wrapping the first section title for Matt.1.1 as follows:
div type=section
div type=x-milestone subType=x-preverse sID=pv1/
titleLignez Jezuz/title
div type=x-milestone subType=x-preverse eID=pv1/
verse sID=Matt.1.1 osisID=Matt.1.1/
Levr lignez Jezuz-Krist, Mab David, Mab
Stephan,
There is a fundamental peace if info that might clear this up:
modules maintain their own keys unless you set them with a persistent
key. So your code would probably work with one addition:
VerseKey vk = VerseKey(key);
vk.Headings(true);
vk.setChapter(0);
vk.setVerse(0);
I don't know what's wrong except what I noted in the previous post: that
there is something wrong.
I want to clear up one thing that seems to be a general misunderstanding:
Module makers should never care or know about x-preverse.
They should make their module how they think best conforms to
Ok,
Just my 2p to the matter:
There are several versions of osis2mod about which produce different results.
I learned the hard way that other than by adding x-preverse to most titles etc
things do NOT work.
But recently things have become more broken and it has become a mess to figure
out.
It might help if CrossWire bugs in JIRA had a project for all our
preprocessing scripts.
The API project includes Sword utilities, but there is no formal means to
report scripting bugs.
Moreover, its generally unclear who owns what for these, and whether
revisions have been adequately tested,
With the advent of Boot2Gecko (and ChromeOS and iPad) it is getting
increasingly interesting to have HTML5 version of Sword client. I know
it is very difficult (it would probably require porting of a lot of
C/C++ code to Javascript, also I have no idea how to store in IndexedDB
or some other
On Wed, Feb 29, 2012 at 7:38 AM, Matej Cepl mc...@redhat.com wrote:
With the advent of Boot2Gecko (and ChromeOS and iPad) it is getting
increasingly interesting to have HTML5 version of Sword client. I know it is
very difficult (it would probably require porting of a lot of C/C++ code to
Hi Matej,
On Thu, Mar 1, 2012 at 12:38 AM, Matej Cepl mc...@redhat.com wrote:
With the advent of Boot2Gecko (and ChromeOS and iPad) it is getting
increasingly interesting to have HTML5 version of Sword client. I know it
is very difficult (it would probably require porting of a lot of C/C++
I built a JS bible software, but it's using XML storage for the
texts. If there's a simple way to convert sword modules into
simple xml files it would be very easy to create the frontend
מיכאל בר-דוד
Michael Bar-David
mich...@mail.org.il
On Wed, Feb 29, 2012 at 7:47 AM, מיכאל בר-דוד mich...@mail.org.il wrote:
I built a JS bible software, but it's using XML storage for the texts. If
there's a simple way to convert sword modules into simple xml files it would
be very easy to create the frontend
We have an XML exporter for
On 29.2.2012 14:47, מיכאל בר-דוד wrote:
I built a JS bible software, but it's using XML storage for the texts.
If there's a simple way to convert sword modules into simple xml files
it would be very easy to create the frontend
Where does its source code grow?
Matěj
--
offline... I'll find it and upload it to my server.
In the meantime, you can take a look at the PHP version,
basically it's very similar:
http://webible.kramatgan.org/
(Hebrew interface)
מיכאל בר-דוד
Michael Bar-David
mich...@mail.org.il
On 02/29/2012 01:21 PM, Peter von Kaehne wrote:
Ok,
Just my 2p to the matter:
There are several versions of osis2mod about which produce different results.
I learned the hard way that other than by adding x-preverse to most titles etc
things do NOT work.
Dear Peter,
If you ever find that
On 29.2.2012 14:46, Jonathan Morgan wrote:
It's not a SWORD project, but you might be interested in the (very)
recent blog post about such a piece of software at
http://donteatthefruit.com/2012/02/powerful-secure-bible-software-for-closed-countries-and-you/.
The code is on github and the license
Please do not export our data to XML.
We do not own most of our data. CrossWire has been granted rights by
many content providers to use their content. Often this permission is
not transferable.
Exporting from one content to another is almost always lossy. We try to
mark the source of
David,
This encoding will cause problems. When osis2mod sees your markup, it
doesn't care that you have gone to the trouble to do its work. It will
wrap your pre-verse div with its own.
Here is what osis2mod does:
Osis2mod takes everything and stuffs it into a verse slot in the module
On 02/29/2012 06:39 AM, Troy A. Griffitts wrote:
I don't know what's wrong except what I noted in the previous post:
that there is something wrong.
As I mentioned in my earlier reply, an OSIS file might have significant
content between verses. Osis2mod keeps all content between verses and
On 02/29/2012 07:21 AM, Peter von Kaehne wrote:
Ok,
Just my 2p to the matter:
There are several versions of osis2mod about which produce different results.
This is unfortunate.
Revision 2358, 28 April 2009: The x-preverse div was added. With that
change all interverse material was
Hi DM,
I've only just returned to this list thread, but in the meanwhile, I made a
preliminary module for the Breton NT.
usfm2osis.pl was output to a file called Koad21.osis.xml
I made an ad hoc TextPipe filter to fix all the section titles (there are
700 of them) by
(a) moving them to after
Moot point to see all the history of osis2mod up to late last year,
but if I take [say] the osis2mod.exe that got installed when I installed
*Xiphos v3.1.5*,
when I open it without any parameters, just to see the syntax help, the
first line is:
You are running osis2mod: $Rev$
OSIS
According to one of the notes in http://crosswire.org/wiki/OSIS_Bibles#Body
2. Any div defaults canonical to false. You need to set it to true on
elements representing the structure of the original text.
However, the output of usfm2osis.pl generates div elements, but does not
set the attribute
The About page for http://donteatthefruit.com/ begins
Hi, I’m John Charles Dickey Dyer. My day job is the director of web
development at Dallas Theological Seminary. I also had the priviledge of
studying theology there and earned my Master of Theology (Th.M.) degree in
2008. I also make some
On 02/29/2012 12:09 PM, David Haslam wrote:
According to one of the notes in http://crosswire.org/wiki/OSIS_Bibles#Body
2. Anydiv defaults canonical to false. You need to set it to true on
elements representing the structure of the original text.
However, the output of usfm2osis.pl
Almost forgot...
I also mentioned John Dyer's book in my own blog.
http://engineeringandtheology.blogspot.com/
David
--
View this message in context:
http://sword-dev.350566.n4.nabble.com/HTML5-front-end-tp4431510p4432278.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
On 02/29/2012 12:00 PM, David Haslam wrote:
Moot point to see all the history of osis2mod up to late last year,
but if I take [say] the osis2mod.exe that got installed when I installed
*Xiphos v3.1.5*,
when I open it without any parameters, just to see the syntax help, the
first line is:
You
On Wed, Feb 29, 2012 at 12:19 PM, Greg Hellings greg.helli...@gmail.com wrote:
On Wed, Feb 29, 2012 at 11:00 AM, David Haslam dfh...@googlemail.com
wrote:
This is the fault of yours truly. $Rev$ does exactly what you suggest
in the next paragraph - tell the user which SVN revision of SWORD
On Wednesday, 29. February 2012 15:29:31 Troy A. Griffitts wrote:
On 02/29/2012 01:21 PM, Peter von Kaehne wrote:
Ok,
Just my 2p to the matter:
There are several versions of osis2mod about which produce different
results.
I learned the hard way that other than by adding
Troy,
thank you for help. Intros are working now.
Stephan
Am 29.02.2012 12:34, schrieb Troy A. Griffitts:
Stephan,
There is a fundamental peace if info that might clear this up:
modules maintain their own keys unless you set them with a persistent
key. So your code would probably work with
Sorry to only jump in on problems, but...
I don't believe the preceding explanation of 'canonical' is correct.
OSIS defaults many attributes to canonical, including verse and chapter
I believe we defined canonical as text belonging to the base work.
For us, this is mostly Bibles.
For a study
Thanks, Troy - most helpful and insightful...
So perhaps I should edit that section of the wiki page?
http://crosswire.org/wiki/OSIS_Bibles#Body
David
--
View this message in context:
http://sword-dev.350566.n4.nabble.com/Setting-canonical-true-tp4432196p4432783.html
Sent from the SWORD Dev
30 matches
Mail list logo