Difference between revisions of "Frontends:URI Standard"

From CrossWire Bible Society
Jump to: navigation, search
m (SWORD)
m (bible: -> sword:)
Line 5: Line 5:
 
=== Xiphos ===
 
=== Xiphos ===
 
'''Xiphos''' handles URIs in following format:
 
'''Xiphos''' handles URIs in following format:
* '''bible://KJV/Gen.1.1'''
+
* '''sword://KJV/Gen.1.1'''
* '''bible:///Gen.1.1''' -- an empty module between // and /
+
* '''sword:///Gen.1.1''' -- an empty module between // and / (implies use of whatever Bible module is current, or default).
* '''bible://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4''' -- non-bible modules, the 2nd double "//" is because keys for genbooks begin with /,  so the first double slash is URL syntax, the 3rd / is the end of the module name, and the 4th / is the beginning of the genbook key
+
* '''sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4''' -- non-bible module. The 2nd double "//" is because keys for genbooks begin with /,  so the first double slash is URL syntax, the 3rd / is the end of the module name, and the 4th / is the beginning of the genbook key.
* '''bible://WebstersLinked/EPHEMERIS''' -- dictionary references, dictionary keys have no slashes
+
* '''sword://WebstersLinked/EPHEMERIS''' -- dictionary references, dictionary keys have no slashes.
  
 
=== FireBible ===
 
=== FireBible ===

Revision as of 19:10, 2 April 2010

Some SWORD front-ends handle bible: or sword: as URIs. This necessitates having a standard for new and existing front-ends. A Bible URI standard is also necessary for Bookmarks Standard.

Current situation

Xiphos

Xiphos handles URIs in following format:

  • sword://KJV/Gen.1.1
  • sword:///Gen.1.1 -- an empty module between // and / (implies use of whatever Bible module is current, or default).
  • sword://Josephus//The+Antiquities+of+the+Jews/Book+1/Chapter+1/Section+4 -- non-bible module. The 2nd double "//" is because keys for genbooks begin with /, so the first double slash is URL syntax, the 3rd / is the end of the module name, and the 4th / is the beginning of the genbook key.
  • sword://WebstersLinked/EPHEMERIS -- dictionary references, dictionary keys have no slashes.

FireBible