I thought I would do a follow up on this.<br><br><b>Status</b><br>As most of you will already know Sword doesn't use the zips, it uses the files directly, and that is why Sword can use Xiphos repo without error.  Also, my previous post did not prompt any changes that might allow JSword to access the Xiphos repo zip files - which is a shame.<br>
<br>At the moment I am implementing Gen Books and wanted to include some of the Gen Books from Xiphos into the list of available books for users to read because the Xiphos repo has a nice selection which incidentally includes one of my recent favourites "The Life and Times of Jesus Christ the Messiah" by Alfred Edersheim.<br>
<br><b>My Attempts</b><br>Well here is how I got on in my attempts.  I managed to download from Xiphos repo a couple of ways:<br>1. hack JSword HttpSwordInstaller to force lowercase file name if the repo being used is Xiphos<br>
2. feed in a conf file with a lower case name/initials<br>3. use lowercase name if download fails<br><br>Methods 1 & 2 seem to work and the first was more seamless from a user's perspective but the second allowed me to contain the code in And Bible and avoid another JSword tweak.  The only problem with the second is that a module's initials are displayed as lowercase until the app is restarted.  If the user tried to download an index AB wouldn't be able to finf it but GenBooks don't have indexes at the moment so the problem is avoided.  I can't think of any other issues and I think I could probably force the initials to be correct if I needed to.<br>

Method 3 is a variation on method 1 that would continue to work if the names were ever altered to mixed case.  So in theory it looks good but seems untidy so I didn't try it.<br><br><b>Problem Zips in Xiphos</b><br>There are some books like Baxter, SacredMeditations and Shaw that I managed to download but not expand.  However, I have put enough effort in this area for now so I just won't show those books in the download list.<br>

<br>If in the future somebody plans to change the case of the file names in the Xiphos repo I will need some warning!<br><br>Regards<br>Martin<br><br><div class="gmail_quote">On 14 February 2011 20:52, Martin Denham <span dir="ltr"><<a href="mailto:mjdenham@gmail.com" target="_blank">mjdenham@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>I tried downloading from Xiphos tonight but as DM feared there were filename case issues because JSword looks for a mixed case name based on the first [<i>name</i>] line in the .conf file and all the files on <a href="http://ftp.xiphos.org" target="_blank">ftp.xiphos.org</a> are lower case.</div>


<div><div><br></div><div>Here is the problem, using Gill as an example.</div><div><br></div><div>JSword reads the module's initials from the first [Gill] line in gill.conf</div><div>Module initials: Gill</div><div><br>


</div><div>Xiphos has filename gill.zip</div><div>Zip file: <a href="http://ftp.xiphos.org/sword/zip/" target="_blank">http://ftp.xiphos.org/sword/zip/</a>gill.zip</div><div><br></div><div>JSword HttpSwordInstaller tries to load <a href="http://ftp.xiphos.org/sword/zip/Gill.zip" target="_blank">http://ftp.xiphos.org/sword/zip/Gill.zip</a> and throws an error because there is no Gill .zip, only a gill.zip.</div>


<div><br></div><div>It would be good to know what Sword does because clearly Sword can read all the repositories.</div><div><br></div><div><div>For info the settings I am using in InstallManager.plugin are:</div><div><div>


Installer.4=sword-http,Xiphos,<a href="http://ftp.xiphos.org" target="_blank">ftp.xiphos.org</a>,/sword/zip,/sword,,,</div></div><div><br></div></div><div>Regards</div><div>Martin</div></div>
</blockquote></div><br>