[sword-devel] Parsing Strong's to support more flexible layout in user interface

Karl Kleinpaste karl at kleinpaste.org
Sun Nov 10 17:50:00 EST 2019


On 11/10/19 4:36 PM, Tobias Klein wrote:
> Is there any other Sword frontend as of today that is working with the 
> Entry Attributes for any dictionaries?
Xiphos uses getEntryAttribute for preverse headers, footnotes, and 
xrefs, no matter the module type.

For comparison, StrongsRealGreek and StrongsRealHebrew are ThML modules 
in which what your display shows as "Related" appear as direct links in 
the text itself. In Xiphos, those links are treated as hover-hot to make 
xrefs appear in sidebar; click replaces the current pane entry with the 
new choice.

Samples using your example: 
http://ftp.xiphos.org/sword/xiphos/dictionary-link/
Rendered from this source content:
$ diatheke -b StrongsRealGreek -k 846
00846: <a name="00846">846</a> <b>αὐτός</b> [AU)TO/S] {autós} 
\<i>ow-tos'</i>\<br/> from the particle <b>αὖ</b> [AU)=] {aû} (perhaps 
akin to the base of <a href="sword://StrongsRealGreek/00109">109</a> 
through the idea of a baffling wind) (backward); the reflexive pronoun 
self, used (alone or in the comparative <a 
href="sword://StrongsRealGreek/01438">1438</a>) of the third person , 
and (with the proper personal pronoun) of the other persons:--her, 
it(-self), one, the other, (mine) own, said, (self-), the) same, ((him-, 
my-, thy- )self, (your-)selves, she, that, their(-s), them(-selves), 
there(-at, - by, -in, -into, -of, -on, -with), they, (these) things, 
this (man), those, together, very, which. Compare <a 
href="sword://StrongsRealGreek/00848">848</a>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20191110/4bf7c2f2/attachment-0001.html>


More information about the sword-devel mailing list