<html><body><div dir="ltr"><div>
</div><div><div dir="ltr">Have you looked at the examples section in the code ? </div>
<div id="ms-outlook-mobile-signature"><div dir="ltr"><br></div>Sent from <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
<div> </div><hr style="display:inline-block;width:98%" tabindex="-1"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>From:</b> sword-devel <sword-devel-bounces@crosswire.org> on behalf of Aaron Rainbolt <arraybolt3@gmail.com><br><b>Sent:</b> Saturday, October 5, 2024 7:41 PM<br><b>To:</b> SWORD Developers' Collaboration Forum <sword-devel@crosswire.org><br><b>Subject:</b> [sword-devel] How exactly is one supposed to handle the various different types of modules?<div> </div></font></div>Background - trying (for the second time) to write my own SWORD
<br>frontend. I tried once quite a bit ago, trying to make something
<br>focused on writing Markdown, and failed rather miserably. I'm now
<br>taking a second swing at it, aiming to make something a bit like
<br>theWord but with a user interface closer to the old Logos Library
<br>System (and yes, I'm talking about the *old* Logos Library System, I
<br>have a copy of it around here with some material on it, some of which
<br>is DRM-locked but oh well).
<br>
<br>I have a decent Bible view implemented (well, mostly - still need to
<br>figure out how to handle markup other than OSIS but at least OSIS
<br>works), and am now figuring out what view to implement next. With that
<br>in mind, I installed some extra modules and looked at how Xiphos
<br>handled them and how they look internally using mod2imp... and quickly
<br>learned that modules do not always behave like I expect. For instance
<br>"Cult/Unorthodox" modules show up in Xiphos's Bible view, daily
<br>devotions are treated as dictionaries, and commentaries are structured
<br>by book, chapter, and verse just like Bible views but have their own
<br>"kind" of module in the SWORD API.
<br>
<br>Is there a good breakdown on how each kind of module is intended to be
<br>treated in SWORD? Right now I think it's probably:
<br>
<br>* Biblical Texts -> SWText
<br>* Commentaries -> SWCom
<br>* Dictionaries -> SWLD
<br>* Glossaries -> SWLD
<br>* Daily Devotionals -> SWLD
<br>* General Bookx -> SWGenBook
<br>* Maps -> ?
<br>* Images -> ?
<br>* Cult/Unorthodox -> SWText
<br>_______________________________________________
<br>sword-devel mailing list: sword-devel@crosswire.org
<br>http://crosswire.org/mailman/listinfo/sword-devel
<br>Instructions to unsubscribe/change your settings at above page
<br></div><div id="ms-outlook-mobile-signature"><div><br></div>Sent from <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div></div></body></html>