<div dir="ltr">I think there&#39;s a bit of confusion here. <div><br></div><div>JSword is enhanced to automatically populate a new &quot;side conf file&quot; which sits along side the existing SWORD conf file that the user downloads. The two fields are to record the list of books (OSIS Book abbreviations space separated) and list of verses (OSIS ref format).</div><div><br></div><div>The fields get populated by the JSword engine as soon as the frontend develop calls that method (lazily populated)</div><div><br></div><div>As an example, the following information is stored for the ESV module under ~/.jsword/jsword-mods.d/esv.conf</div><div><br></div><div><div>[ESV]</div><div>Scope=Intro.OT-Mal.4.5 Intro.NT-Matt.12.46 Matt.12.48-Matt.17.20 Matt.17.22-Matt.18.10 Matt.18.12-Matt.23.13 Matt.23.15-Mark.7.15 Mark.7.17-Mark.9.43 Mark.9.45 Mark.9.47-Mark.11.25 Mark.11.27-Mark.15.27 Mark.15.29-Luke.17.35 Luke.17.37-Luke.23.16 Luke.23.18-John.5.3 John.5.5-Acts.8.36 Acts.8.38-Acts.15.33 Acts.15.35-Acts.24.6 Acts.24.8-Acts.28.28 Acts.28.30-Rom.16.23 Rom.16.25-Rev.12.17 Rev.13-Rev.22.19</div><div>BookList=Gen Exod Lev Num Deut Josh Judg Ruth 1Sam 2Sam 1Kgs 2Kgs 1Chr 2Chr Ezra Neh Esth Job Ps Prov Eccl Song Isa Jer Lam Ezek Dan Hos Joel Amos Obad Jonah Mic Nah Hab Zeph Hag Zech Mal Matt Mark Luke John Acts Rom 1Cor 2Cor Gal Eph Phil Col 1Thess 2Thess 1Tim 2Tim Titus Phlm Heb Jas 1Pet 2Pet 1John 2John 3John Jude Rev</div></div><div><br></div><div>Hope this helps.</div><div>Chris<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 January 2015 at 14:09, Jonathan Morgan <span dir="ltr">&lt;<a href="mailto:jonmmorgan@gmail.com" target="_blank">jonmmorgan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi DM,<br><br>Thanks for the comment.<br></div>I think caching brings us back to the question &quot;Do we expect it to be at chapter level or at book level&quot;?<br></div><div>I think there are good arguments for chapter level being theoretically helpful, but it could make a cached conf string much more unwieldy.<br></div>Which is JSword doing?<br><br></div>Jon<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 12:49 AM, DM Smith <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">It is not fast, but is reasonably fast. It takes a look at the index file (not the data file) to see what verses have size. If size is 0, then that verse is not in the v11n. A book is present if all the verses have size 0.<div><br></div><div>I’m pretty sure that both AndBible and STEP have this woven in. BibleDesktop needs to be released soon.<br><div><br></div><div>I think that *some* frontends cache that in the module’s conf as an osisRef. BTW, cached in the module’s conf means it never gets out of date or specified wrongly.</div><div><br></div><div>I think that Scope (and BookList) should be handled like InstallSize. That is, not specified by the module maker but computed and maintained on the server.</div><span><font color="#888888"><div><br></div><div>— DM</div></font></span><div><div><div><br><div><blockquote type="cite"><div>On Jan 8, 2015, at 8:39 AM, Jonathan Morgan &lt;<a href="mailto:jonmmorgan@gmail.com" target="_blank">jonmmorgan@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div>Hi Peter,<br><br>If I read Chris&#39; comment correctly, you wouldn&#39;t need to do put anything in the conf file.  It will automatically figure it out based on which books (and possibly chapters?) are in the Bible. <br>This roughly matches the direction discussion took in the original thread, as enough people found enough problems with having a scope specifier in the conf file.<br><br></div><div>So long as this performs OK I think it&#39;s a great solution, because it tells you exactly what is in the Bible, and won&#39;t get specified wrongly or fall out of date.<br></div><div>Main advantage: Module maker doesn&#39;t have to specify the scope.  It &quot;just works&quot;.<br></div><div>Main disadvantage: Frontend developers have to implement it :(<br><br></div><div>Hope that makes sense.<br><br>Jon<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 11:49 PM, Peter Von Kaehne <span dir="ltr">&lt;<a href="mailto:refdoc@gmx.net" target="_blank">refdoc@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>Ah brilliant.</div>

<div> </div>

<div>So something in Jsword but not yet in Sword?</div>

<div> </div>

<div>What is the exact syntax a conf file entry should have? I would try this out immediately.</div>

<div> </div>

<div>Peter</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Donnerstag, 08. Januar 2015 um 10:58 Uhr<br>
<b>Von:</b> &quot;Chris Burrell&quot; &lt;<a href="mailto:chris@burrell.me.uk" target="_blank">chris@burrell.me.uk</a>&gt;<br>
<b>An:</b> &quot;SWORD Developers&#39; Collaboration Forum&quot; &lt;<a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>&gt;<br>
<b>Betreff:</b> Re: [sword-devel] Scope</div><div><div>

<div name="quoted-content">
<div>Hi David
<div> </div>

<div>The discussion did result into code on the JSword project. We now have JSword specific configuration that is populated automatically by examining content (as well as front-end specific configuration).</div>

<div> </div>

<div>We have a &#39;scope&#39; and a &#39;book list&#39;</div>

<div> </div>

<div>Cheers</div>

<div>Chris</div>

<div> </div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On 8 January 2015 at 10:51, David Haslam <span>&lt;<a href="http://dfhmch@googlemail.com/" target="_blank">dfhmch@googlemail.com</a>&gt;</span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">In another thread from 2008, Chris made an important observation about OSIS<br>
Scope.<br>
<br>
It&#39;s also a little ambiguous.<br>
How many books are included in the scope Gen-Rev? 66? 73?<br>
It&#39;s always depended on context.<br>
<br>
But as we have added av11n since then, this worry may no longer be critical.<br>
<br>
Regards,<br>
<br>
David<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://sword-dev.350566.n4.nabble.com/Scope-tp4654525p4654527.html" target="_blank">http://sword-dev.350566.n4.nabble.com/Scope-tp4654525p4654527.html</a>

<div>
<div>Sent from the SWORD Dev mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="http://sword-devel@crosswire.org/" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</div>
</div>
</blockquote>
</div>
</div>
_______________________________________________ sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a> Instructions to unsubscribe/change your settings at above page</div>
</div></div></div>
</div>
</div></div></div>

<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" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>
_______________________________________________<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" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br></div></div></div></div></div><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" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>