Last weekend at BibleTech:2010 I also presented a standardized URI space
 for 
addressing &amp; accessing scripture. <br>Here&#39;s a draft with URI examples: 
<a href="http://wiki.github.com/openscriptures/api/restful-uri-structure">http://wiki.github.com/openscriptures/api/restful-uri-structure</a><br>Video of my talk: <a href="http://vimeo.com/10490211">http://vimeo.com/10490211</a><br>



<br>


Our idea is to implement this standard URI space on multiple
 API servers in a scripture network; the result is that the same 
passage can be looked up on the closest server and if its not available 
to be able to fallback to another server; so the servers in the network 
would serve as mirrors for some content. Other content would be 
restricted to certain servers; for example, the NET Bible would reside 
on Bible.org&#39;s server; if a request was made for the NET Bible on 
Crossway&#39;s server, it would redirect to the Bible.org.<br>


<br>


<a href="http://esv.example.com/passage/ESV:John.3.16">http://esv.example.com/passage/ESV:John.3.16</a><br>


<a href="http://net.example.com/passage/NET:John.3.16">http://net.example.com/passage/NET:John.3.16</a><br>


<a href="http://esv.example.com/passage/NET:John.3.16">http://esv.example.com/passage/NET:John.3.16</a> ==&gt; 
<a href="http://net.example.com/passage/NET:John.3.16">http://net.example.com/passage/NET:John.3.16</a><br>


<br>


With standardized URIs, not only can requests be redirected like this, 
but scriptural passages on different servers can be unambiguously and 
precisely linked together by these URIs; and API responses can aggregate
 content from multiple locations. So lets say a request is made of the 
ESV and NET in parallel:<br>


<br>


<a href="http://esv.example.com/passage/ESV:John.3.16|NET">http://esv.example.com/passage/ESV:John.3.16|NET</a><br>


<br>


If the ESV server didn&#39;t have direct access to the NET, it can 
simply use some kind of inclusion mechanism (e.g. XInclude) to notify 
the client that it should load the NET content from another location; if it does have direct access, it could pull in the sources from other servers and return the aggregate response itself.<br>


<br>


URI request &amp; response examples: <a href="http://github.com/openscriptures/api/tree/master/examples/">http://github.com/openscriptures/api/tree/master/examples/</a><br>



<br>


Obviously it would be very beneficial if both the internal SWORD 
frontend URIs and the URIs used for Web APIs could be harmonized: URIs 
from inside the SWORD frontend could then easily link out to URIs on the
 Web, and visa-versa. Also, the Open Scriptures project aims to populate
 our scriptural data models with various public domain texts as 
CrossWire has done, and then to make the API and the populated data 
models available for installation on any machine to serve as a local API
 server, e.g. when offline; with shared standardized URIs, then the 
SWORD frontends could tie in directly with the Open Scriptures API. Furthermore, if more and more content providers make their content available via the Open Scriptures API using standardized URIs, then SWORD frontends on user machines could potentially have access to more restricted data because they could communicate directly with the content owner with whom the user could have a license key to gain access to their content. But everything hinges upon having standard URIs.<br>



<br>


So while the official SWORD URI standard is sword://module/key<br>


The parallel URI space we are talking about could be be prefixed with 
the “bible:” scheme, as Chris Little affirms. As such, the URIs in SWORD
 frontends would technically be URNs which then get resolved to either 
the internal SWORD engine, or externally to a URL on the Web:<br>

<br>

URN bible:passage/NET:John.3.16  ==&gt; URL 
<a href="http://net.example.org/passage/NET:John.3.16">http://net.example.org/passage/NET:John.3.16</a><br>


<br>


Thoughts?<br>


<br>


Weston<br><br><br><div class="gmail_quote"><span style="font-size: large; font-weight: bold;">Forwarded conversation</span><br>Subject: <b class="gmail_sendername">[sword-devel] Bible Resource Identifiers</b><br>------------------------<br>
<br><span class="undefined"><font color="#000000">From: <b class="undefined">Константин Маслюк</b> <span dir="ltr">&lt;<a href="mailto:kalemas@mail.ru">kalemas@mail.ru</a>&gt;</span><br>Date: Fri, Apr 2, 2010 at 1:50 AM<br>
To: SWORD Developers&#39; Collaboration Forum &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>&gt;<br></font><br></span><br>Hi all.<br>
<br>
I&#39;ve created <a href="http://www.crosswire.org/wiki/Frontends:URI_Standard" target="_blank">http://www.crosswire.org/wiki/Frontends:URI_Standard</a> for<br>
discussing Bile uri&#39;s . If your frontend supports this , please<br>
describe there , how.<br>
<br>
Also it would be nice if SWORD take care of handling /  decode into<br>
SWModule/SWKey.<br>
<br>
Wish you the best.<br>
<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>
<br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">David Haslam</b> <span dir="ltr">&lt;<a href="mailto:d.haslam@ukonline.co.uk">d.haslam@ukonline.co.uk</a>&gt;</span><br>Date: Fri, Apr 2, 2010 at 4:06 AM<br>
To: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></font><br></span><br><br>
I have updated the wiki page a bit. Plus some useful wiki house-keeping.<br>
<br>
I have also written to Brian to ask him to add the details for FireBible.<br>
<br>
David<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n4.nabble.com/Bible-Resource-Identifiers-tp1748943p1749018.html" target="_blank">http://n4.nabble.com/Bible-Resource-Identifiers-tp1748943p1749018.html</a><br>
Sent from the SWORD Dev mailing list archive at Nabble.com.<br>
</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Chris Little</b> <span dir="ltr">&lt;<a href="mailto:chrislit@crosswire.org">chrislit@crosswire.org</a>&gt;</span><br>
Date: Fri, Apr 2, 2010 at 11:40 AM<br>To: SWORD Developers&#39; Collaboration Forum &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>&gt;<br></font><br></span><br>I think it important to point out that the official Sword URI standard, as defined about 10 years ago and implemented to some extent in BibleCS at that time, is basically:<br>

<br>
sword://module/key<br>
<br>
Adding an identical protocol handler for &quot;bible:&quot; is fine, and I&#39;d even encourage it, but &quot;sword:&quot; is the official and defined protocol.<br><font color="#888888">
<br>
--Chris</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Karl Kleinpaste</b> <span dir="ltr">&lt;<a href="mailto:karl@kleinpaste.org">karl@kleinpaste.org</a>&gt;</span><br>
Date: Fri, Apr 2, 2010 at 12:03 PM<br>To: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></font><br></span><br>That&#39;s all that Xiphos generates internally, and most of the examples I<br>
discussed with him in #sword the other day, which have now gone into the<br>
wiki page, used sword://.<br>
<br>
But Xiphos recognizes both, and installs handlers for both.<br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">David Haslam</b> <span dir="ltr">&lt;<a href="mailto:d.haslam@ukonline.co.uk">d.haslam@ukonline.co.uk</a>&gt;</span><br>
Date: Fri, Apr 2, 2010 at 11:35 PM<br>To: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></font><br></span><br><br>
FireBible recognizes both &quot;sword:&quot; and &quot;bible:&quot; as identifiers.<br>
<br>
David<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n4.nabble.com/Bible-Resource-Identifiers-tp1748943p1749916.html" target="_blank">http://n4.nabble.com/Bible-Resource-Identifiers-tp1748943p1749916.html</a><br>
</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">DM Smith</b> <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt;</span><br>
Date: Sat, Apr 3, 2010 at 7:43 AM<br>To: SWORD Developers&#39; Collaboration Forum &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>&gt;<br>Cc: David Haslam &lt;<a href="mailto:d.haslam@ukonline.co.uk">d.haslam@ukonline.co.uk</a>&gt;<br>
</font><br></span><br>
FireBible, since it is based on JSword, probably also recognizes some others based upon type, e.g. dict: as in dict://word.<br>
<br>
These are not standard, but are based upon a need to allow for general purpose lookup based upon type. This is what bible: is.<br>
<br>
We&#39;ve discussed the need for type based lookups but I don&#39;t recall coming to a conclusion.<br>
<br>
There is also a need to be able to specify a particular versification for bible:// where the user does not care about the particular bible that is used.<br>
<br>
It might also be good to be able to specify a particular language or perhaps any other attribute of a module specified in the conf. Kind of an sql specifier.<br>
<br>
I&#39;d suggest that in sword://module/key that module be allowed to be an abstract reference, such as sword://Bible.en.KJV.*/key (type.lang.v11n.any) or as sword://Dict.strong.*/key.<br>
<br>
I think the semantic should be look for a preferred match, if any, and use the &quot;best&quot; match otherwise.<br>
<br>
In Him,<br><font color="#888888">
    DM</font><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">DM Smith</b> <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt;</span><br>
Date: Sat, Apr 3, 2010 at 7:58 AM<br>To: SWORD Developers&#39; Collaboration Forum &lt;<a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>&gt;<br>Cc: David Haslam &lt;<a href="mailto:d.haslam@ukonline.co.uk">d.haslam@ukonline.co.uk</a>&gt;<br>
</font><br></span><br><div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jaak Ristioja</b> <span dir="ltr">&lt;<a href="mailto:Ristioja@gmail.com">Ristioja@gmail.com</a>&gt;</span><br>
Date: Sat, Apr 3, 2010 at 9:55 AM<br>To: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></font><br></span><br>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi<br>
<br>
When deciding whether to concentrate on the sword: URI or the bible: URI, one should take<br>
into consideration, that there is also other Bible software. Hence specifying a bible: URI<br>
should be an effort separate of the Sword Project. In the latter case we should also<br>
involve other interested parties in the discussion - both projects using Sword and those<br>
that don&#39;t.<br>
<br>
Another thing to consider (especially for the bible: URI format) is that it should stay<br>
very stable over time and be general (but not bloated) enough so that extensions to the<br>
format will not break backward-compatibility as long as required before the return of our<br>
Lord.<br>
<br>
Best regards!<br>
Jaak Ristioja<br>
<br>
PS: I strongly suggest you to pursue more important matters this time of the year!<br>
Especially this week! And especially these days of this week!<br>
PPS: Don&#39;t use &quot;//&quot;: <a href="http://www.google.ee/search?q=berners+double-slash" target="_blank">http://www.google.ee/search?q=berners+double-slash</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.14 (GNU/Linux)<br>
<br>
iQgcBAEB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