[sword-devel] mod2zmod problems

Joachim Ansorg sword-devel@crosswire.org
Sat, 13 Jul 2002 23:07:34 +0200


--------------Boundary-00=_MCH72A2RU3EU18UOARGD
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Heres the list. I had it on disk.

Joachim


> > would it not be better to wait with the entyattribute stuff until the
> > sword api is redesigned (2.x -- not talking of BibleCS)?
>
> No, the redesign will not alter the EntryAttributes concept or the
> 'meat' of any functionality in 1.5.x.  The redesign will simply change
> the programming interface to be consistent, and many of the concepts
> that I've wanted to add at redesign time have already been started in
> the 1.5.x branch.
>
> > IMHO a unsound mix of filtering and direct acess would be created if =
we
> > would start using this thouroughly now, because those are very differ=
ent
> > approaches to access the text.
>
> ? Not sure what you mean.  The filters produce the EntryAttributes
> entries.  There is no direct access.  The filters are still involved in
> formatting the EntryAttributes entries the way your frontend requires
> them (or should, when they are actually written/complete).
>
> > Before doing this, we should probably switch to OSIS
> > internally, and then redesign the api to give it a more consistent an=
d
> > flexible approach.
>
> Actually, you, as a client of the API should never have to know that an=
y
> text you use is in OSIS, or ThML, or GBF, or whatever.  Only as an API
> extender (filter writer, etc.) or hacker should you have to know about =
it.
>
> > The entryattribute stuff seems to be much similar to the
> > ontag mechanism you planned for sword 2.x.
> >
> > Please correct me if I am wrong here, I might be misinformed.
>
> Well, actually, the onTag mechanism was intended for filter writers to
> more easily write filters by responding to tag instances with an onTag
> event.  The design will also allow us to consolidate cases where we
> currently have mutliple passes of the text by multiple filters into a
> single pass, hopefully speeding up things considerably.
>
> > Btw, do we have the list of sword "module.conf" keys online? I would =
like
> > to submit it to the wiki.
>
> Yeah, I think Chris posted the current list a few months back.  I'd
> check the archives (I'm assuming you mean valid .conf entries, and NOT
> the CipherKey's :)  ).
>
> Thanks for the feedback.  I hope this clears things up a little.  Value
> your comments.
>
> =09-Troy.
>
> > Martin

--------------Boundary-00=_MCH72A2RU3EU18UOARGD
Content-Type: text/html;
  charset="iso-8859-1";
  name="modules.conf-elemente.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="modules.conf-elemente.html"

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="1">
  <tr> 
    <td width="26%"> 
      <div align="center"><b>Element</b></div>
    </td>
    <td width="63%"> 
      <div align="center"><b>Values (type or enumerated)</b></div>
    </td>
    <td width="11%"> 
      <div align="center"><b>Default Value</b></div>
    </td>
  </tr>
  <tr> 
    <td width="100%" colspan="3"> 
      <div align="center"><font size="-1">required elements</font></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">DataPath</div>
    </td>
    <td width="63%">&lt;relative system path&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Description</div>
    </td>
    <td width="63%">&lt;string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">ModDrv</div>
    </td>
    <td width="63%">RawText, zText, RawCom, zCom, HREFCom, RawFiles, RawLD, RawLD4, 
      zLD, RawGenBook</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="100%" colspan="3"> 
      <div align="center"></div>
      <div align="center"><font size="-1">elements required for proper module 
        access</font></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">CipherKey</div>
    </td>
    <td width="63%">&lt;string&gt; (typically in a format matching the pattern 
      /[0-9]{4}[A-Za-z]{4}[0-9]{4}[A-Za-z]{4}/</td>
    <td width="11%"> 
      <div align="left"></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">BlockType</div>
    </td>
    <td width="63%">BOOK, CHAPTER, VERSE</td>
    <td width="11%">CHAPTER</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">CompressType</div>
    </td>
    <td width="63%">ZIP, LZSS</td>
    <td width="11%">LZSS</td>
  </tr>
  <tr> 
    <td width="26%">BlockCount</td>
    <td width="63%">&lt;integer&gt;</td>
    <td width="11%">200</td>
  </tr>
  <tr> 
    <td width="100%" colspan="3"> 
      <div align="center"><font size="-1">elements required for proper rendering</font></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">GlobalOptionFilter</div>
    </td>
    <td width="63%">GBFStrongs, GBFFootnotes, GBFScripref, GBFMorph, GBFHeadings, 
      ThMLStrongs, ThMLFootnotes, ThMLScripref, ThMLMorph, ThMLHeadings, ThMLVariants, 
      ThMLLemma, UTF8Cantillation, UTF8GreekAccents, UTF8HebrewVowels</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Direction</div>
    </td>
    <td width="63%">RtoL, LtoR</td>
    <td width="11%">LtoR</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">SourceType</div>
    </td>
    <td width="63%">Plaintext, GBF, ThML, OSIS</td>
    <td width="11%">Plaintext</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Encoding</div>
    </td>
    <td width="63%">UTF-8, Latin-1</td>
    <td width="11%">Latin-1</td>
  </tr>
  <tr>
    <td width="26%">DisplayLevel</td>
    <td width="63%">&lt;integer&gt;</td>
    <td width="11%">1</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Font</div>
    </td>
    <td width="63%">&lt;string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="100%" colspan="3"> 
      <div align="center"><font size="-1">elements to indicate features</font></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Feature</div>
    </td>
    <td width="63%">StrongsNumbers, GreekDef, HebrewDef, GreekParse, HebrewParse, 
      DailyDevotion, Glossary</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">LexiconFrom</div>
    </td>
    <td width="63%">&lt;OSIS:Lang identifier&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">LexiconTo</div>
    </td>
    <td width="63%">&lt;OSIS:Lang identifier&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="100%" colspan="3"> 
      <div align="center"><font size="-1">general informatic and installer elements</font></div>
    </td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">About</div>
    </td>
    <td width="63%">&lt;string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Version</div>
    </td>
    <td width="63%">&lt;version string&gt;</td>
    <td width="11%">1.0</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">History_x.x</div>
    </td>
    <td width="63%">&lt;string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">MinimumVersion</div>
    </td>
    <td width="63%">&lt;version string&gt;</td>
    <td width="11%">1.5.1a</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Category</div>
    </td>
    <td width="63%">&lt;string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">LCSH</div>
    </td>
    <td width="63%">&lt;tree/string&gt;</td>
    <td width="11%">&nbsp;</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <div align="left">Lang</div>
    </td>
    <td width="63%">&lt;OSIS:Lang identifier&gt;</td>
    <td width="11%">en</td>
  </tr>
  <tr> 
    <td width="26%"> 
      <
--------------Boundary-00=_MCH72A2RU3EU18UOARGD--