Difference between revisions of "Talk:Frontends:URI Standard"

From CrossWire Bible Society
Jump to: navigation, search
(STEP Bible: new section)
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
I found there is no official and even unofficial standard for Bible resources. Need we request for such standard and does anybody knows how? --[[User:Kalemas|Kalemas]] 07:33, 2 April 2010 (UTC)
 
I found there is no official and even unofficial standard for Bible resources. Need we request for such standard and does anybody knows how? --[[User:Kalemas|Kalemas]] 07:33, 2 April 2010 (UTC)
 +
 +
== GenBook URIs ==
 +
 +
* Is the URI that '''Xiphos''' uses for genbooks the actual SWORD standard?  (that is, '''sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4''')  I haven't looked into supporting genbooks in '''PocketSword''' yet, so I'm not sure quite what is expected.  --[[User:Niccarter|Niccarter]] 02:06, 3 April 2010 (UTC)
 +
 +
: Yes, '''Xiphos''' does it correctly. The system is just '''sword://module/key'''. Since GenBook keys are '''/level1/level2/level3/level4/...''', with a leading /, there's a double // following the module name. The +s and any other URL-encoding should be handled (I believe by the front end), so that '''sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4''' gets translated to Module: '''Josephus''', Key: '''/The Antiquities of the Jews/Book 1/Chapter 1/Section 4'''. --[[User:Osk|Osk]] 07:13, 3 April 2010 (UTC)
 +
 +
== STEP Bible ==
 +
 +
The '''STEP Bible''' front-end handles everything through URIs. I've asked the project leader to consider adding a section to this page. [[User:David Haslam|David Haslam]] 07:37, 26 November 2013 (MST)

Latest revision as of 14:37, 26 November 2013

Official Standard

I found there is no official and even unofficial standard for Bible resources. Need we request for such standard and does anybody knows how? --Kalemas 07:33, 2 April 2010 (UTC)

GenBook URIs

  • Is the URI that Xiphos uses for genbooks the actual SWORD standard? (that is, sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4) I haven't looked into supporting genbooks in PocketSword yet, so I'm not sure quite what is expected. --Niccarter 02:06, 3 April 2010 (UTC)
Yes, Xiphos does it correctly. The system is just sword://module/key. Since GenBook keys are /level1/level2/level3/level4/..., with a leading /, there's a double // following the module name. The +s and any other URL-encoding should be handled (I believe by the front end), so that sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4 gets translated to Module: Josephus, Key: /The Antiquities of the Jews/Book 1/Chapter 1/Section 4. --Osk 07:13, 3 April 2010 (UTC)

STEP Bible

The STEP Bible front-end handles everything through URIs. I've asked the project leader to consider adding a section to this page. David Haslam 07:37, 26 November 2013 (MST)