<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 10, 2020 at 5:27 PM Philip White <<a href="mailto:philipwhite@cedarville.edu">philipwhite@cedarville.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks for the responses. I will consider using the Sword library. One<br>
reason I am reluctant to do so is my preference for C over C++.<br></blockquote><div><br></div><div>There is a C file in the bindings that allows you to access the library through C instead of C++. You can find the header here: <a href="https://www.crosswire.org/svn/sword/trunk/include/flatapi.h">https://www.crosswire.org/svn/sword/trunk/include/flatapi.h</a></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Another is my preference for building software on top of standards<br>
instead of ad-hoc knowledge.<br></blockquote><div><br></div><div>I'm not sure I see where your objection to a well received and very open scripture software project that is completely FOSS would have objections, then.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> This is the beauty of the Sword library. It hides all the rest of those questions:<br>
> 1) Which format did it come from? OSIS? ThML? Who even knows?<br>
> 2) What is the source of the original text? Could be nearly anywhere.<br>
> 3) What is the source encoding? Could be lots of things. Sword will normalize this all to UTF-8 for you.<br>
<br>
All three of these points seem less about the library, and more about<br>
the final modules themselves. Does the library itself normalize this,<br>
or is it normalized when the modules are created? I guess I thought<br>
that all modules came from OSIS sources, which I guess is incorrect.<br></blockquote><div><br></div><div>It is not correct. It is the primary way that scripture modules are accepted from submissions, but it is not at all the case that all modules come from OSIS. It's not even the original source in some cases - lots of them come from USFM or USX, then get converted to OSIS before being turned into Sword modules.</div><div><br> </div><div>Is there any reason that diatheke cannot fulfil your needs?</div><div><br></div><div>--Greg<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
- Philip<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div></div>