|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 2 |
|
| Author |
|
|
Stranger Joined: Nov 23, 2008 Post Count: 1 Status: Offline |
Hi, I know that Sword has a built-in protocol that will allow you to add links on a web site and any visitors that are running Sword can click on these Sword protocol links and have their Sword-based Bible program open up to the reference cited in the link. I have zero clue about how this is done. I have been on a site that had it, but it is now down, otherwise I'd play detective and figure this out. Can anyone here help me get some info on how this works and what the syntax is for this protocol? Do all Sword front-ends use this protocol? Thanks in advance, Mike |
||
|
|
Developer Joined: Sep 17, 2003 Post Count: 209 Status: Offline |
This page has a couple of example links: http://www.crosswire.org/~chrislit/testlinks.html The top link is the format used by Logos. If you have Logos installed, clicking it will open to the appropriate verse in that software. If you don't have Logos installed and you do have The SWORD Project for Windows installed, that will open to the appropriate verse. The bottom link shows the format used by many Sword front-ends. I couldn't tell you which actually support it, but that page (and thus the format itself) date to around 2001, so they've all had ample opportunity to implement it. The basic format for Sword's private protocol calls is sword://<module ID>/<key value>. The key value would be a verse reference to a Bible (generally well supported), but could also be other key types (words, dates, etc.) for other module types (dictionaries, daily devotionals, etc.). |
||
|
|
|
|
Current timezone is GMT May 21, 2013 10:00:21 AM |