[sword-devel] private protocol HTML links

Don A. Elbourne Jr. sword-devel@crosswire.org
Mon, 18 Feb 2002 09:16:11 -0600


I solved part of the problem by substituting the abbreviated book names and
removing the spaces. This makes the string shorter and works for most of the
strings I am working on with this particular project. I am still not sure if
the character length is a limitation of my OS, the browser, or Sword.

If you would like to take a glimps at what I am working on see:

http://www.elbourne.org/miva/bfm2000.mv

Just click on "sword" at the top. This will make all the verse references
linkable with the Sword private protocol. The links are created dynamically
with a Miva function I am putting together. The function takes a verse list
and creates customized links on the fly. In the demo, I have a line in there
for debugging that tells me how many characters are in the verse string.

I still have some work to do on the site, this is just the development,
getting all the guts of the thing working. Each of the 17 articles of faith
will be on a separate page. The user will be able to select his or her
preferences as to what types of links to show, witch translation they would
like to link to, etc and these preferences will be persistent throughout the
site. I will also probably allow them to select a style sheet for different
display options.

Don A. Elbourne Jr.
http://elbourne.org


----- Original Message -----
From: "Don A. Elbourne Jr." <delbourne@home.com>
To: <sword-devel@crosswire.org>
Sent: Sunday, February 17, 2002 8:59 PM
Subject: [sword-devel] private protocol HTML links


>
> This one works:
>
> <p>Create a <a title="Create a user verse list of all references."
> href="sword://KJV/Exodus 24:4; Deuteronomy 4:1-2; Deuteronomy 17:19;
Joshua
> 8:34; Psalms 19:7-10; Psalms 119:11,89,105,140; Isaiah 34:16; Isaiah 40:8;
> Jeremiah 15:16; Jeremiah 36; Matthew 5:17-18; Matthew 22:29; Luke 21:33;
> Luke 24:44-46; John 5:39; John 16:13-15; John 17:17; Acts 2:16ff.; Acts
> 17:11; Romans 15:4; Romans 16:25-26; 2 Timothy 3:15-17; Hebrews 1:1-2;
> Hebrews 4:12; 1 Peter 1:25; 2 Peter 1:19-21">user verse list</a> of all
> references.</p>
>
>
> This one does not:
>
> <p>Create a <a title="Create a user verse list of all references."
> href="sword://KJV/Genesis 1:1; Genesis 2:7; Exodus 3:14; Exodus 6:2-3;
> Exodus 15:11ff.; Exodus 20:1ff.; Leviticus 22:2; Deuteronomy 6:4;
> Deuteronomy 32:6; 1 Chronicles 29:10; Psalm 19:1-3; Isaiah 43:3,15; Isaiah
> 64:8; Jeremiah 10:10; Jeremiah 17:13; Matthew 6:9ff.; Matthew 7:11;
Matthew
> 23:9; Matthew 28:19; Mark 1:9-11; John 4:24; John 5:26; John 14:6-13; John
> 17:1-8; Acts 1:7; Romans 8:14-15; 1 Corinthians 8:6; Galatians 4:6;
> Ephesians 4:6; Colossians 1:15; 1 Timothy 1:17; Hebrews 11:6; 12:9; 1
Peter
> 1:17; 1 John 5:7">user verse list</a> of all references.</p>-----
>