Re: How exactly is one supposed to handle the various different types of modules?

Peter von Kaehne <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
Have you looked at the examples section in the code ?

Sent from Outlook for iOS

----------

From: sword-devel <[email protected]> on behalf of Aaron Rainbolt <[email protected]>
Sent: Saturday, October 5, 2024 7:41 PM
To: SWORD Developers' Collaboration Forum <[email protected]>
Subject: [sword-devel] How exactly is one supposed to handle the various different types of modules?

Background - trying (for the second time) to write my own SWORD

frontend. I tried once quite a bit ago, trying to make something

focused on writing Markdown, and failed rather miserably. I'm now

taking a second swing at it, aiming to make something a bit like

theWord but with a user interface closer to the old Logos Library

System (and yes, I'm talking about the *old* Logos Library System, I

have a copy of it around here with some material on it, some of which

is DRM-locked but oh well).

I have a decent Bible view implemented (well, mostly - still need to

figure out how to handle markup other than OSIS but at least OSIS

works), and am now figuring out what view to implement next. With that

in mind, I installed some extra modules and looked at how Xiphos

handled them and how they look internally using mod2imp... and quickly

learned that modules do not always behave like I expect. For instance

"Cult/Unorthodox" modules show up in Xiphos's Bible view, daily

devotions are treated as dictionaries, and commentaries are structured

by book, chapter, and verse just like Bible views but have their own

"kind" of module in the SWORD API.

Is there a good breakdown on how each kind of module is intended to be

treated in SWORD? Right now I think it's probably:

* Biblical Texts -> SWText

* Commentaries -> SWCom

* Dictionaries -> SWLD

* Glossaries -> SWLD

* Daily Devotionals -> SWLD

* General Bookx -> SWGenBook

* Maps -> ?

* Images -> ?

* Cult/Unorthodox -> SWText

_______________________________________________

sword-devel mailing list: [email protected]

http://crosswire.org/mailman/listinfo/sword-devel

Instructions to unsubscribe/change your settings at above page

Sent from Outlook for iOS

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.