[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Wed Jan 24, 2018 9:31 am



Reply to topic  [ 4 posts ] 
 Linking to dictionary module in bible module 
Author Message

Joined: Wed Sep 23, 2015 10:13 am
Posts: 10
Post Linking to dictionary module in bible module
I am migrating our interlinear module with word numbers (not strongs) into The Word and I am wondering how to write the text of the internal link so that it links to the dictionary. I am doing my module conversion in a word processor (text wrangler) and so need to search and replace including the link.

The dictionary abbreviation is OANT - Dict
The word numbers go by the format "S1234"

How do I format the link in the bible module, and is there any documentation which includes this sort of detailed internal coding information?


Last edited by Tim Mitchell on Tue Dec 05, 2017 12:57 am, edited 1 time in total.



Tue Dec 05, 2017 12:44 am
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 3542
Post Re: Linking to dictionary module in bible module
This is the document you need.

http://www.theword.net/docs/tw3-bible-module-spec.doc

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Tue Dec 05, 2017 12:57 am
Profile

Joined: Wed Sep 23, 2015 10:13 am
Posts: 10
Post Re: Linking to dictionary module in bible module
Thanks Jon, I have looked at the file, it is really helpful... pity I don't understand all the regular expression stuff, I only use a limited level of regex.

So I have come up with this possible link format. <a href=“”tw://OANT dict.dct?t=S1234&popup=2””>S1234</a>

Does it look like this will work?


Tue Dec 05, 2017 1:14 am
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 3542
Post Re: Linking to dictionary module in bible module
I am not sure it will work (or that it is needed) I would need to test it. theWord has a word lookup feature that can link to a dictionary and give a popup when you hover a word in the Bible view, the user just needs to make the appropriate selection in the Bible view options.
If you need to go the link route, it would be easier to use a verse.rule in the Bible file to produce the links.
If you want me to take a look, you can upload the Bible and Dictionary and I will take a look.
I PM a link

P.S I am on UK time and off to bed as it is midnight.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Tue Dec 05, 2017 2:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.