is there a way to link to BA verses for use in other apps?

Suggestions and Ideas about new features
Post Reply
kenfhill84083
Posts: 14
Joined: Mon Jul 18, 2016 1:37 pm

is there a way to link to BA verses for use in other apps?

Post by kenfhill84083 »

Is there a way to link to Bible Analyzer verses for use in other apps?

I keep my Bible notes in RightNote. I often have Bible references for which I would like to be able to click in RN and open to that verse, in a particular translation, in BA.

You can do this in Logos by pressing ctrl-alt-C. Those links look like this : logosres:nasb95;ref=BibleNASB95.Mt11.28-30

If this is currently available in BA I'd appreciate some instruction.

If not, could this functionality be added to BA?

Thanks

Tim
Site Admin
Posts: 1266
Joined: Sun Dec 07, 2008 1:14 pm

Re: is there a way to link to BA verses for use in other apps?

Post by Tim »

Yes, Bible Analyzer has a feature that will do this...or did. It was introduced in v5.1 and I received essentially no feedback on it since. Using specially formatted links in a web page Bible Analyzer will open and display a verse. It would also display a verse list, do searches, and open specific chapters in books and other resources. I don't know if it will wirk with your note editor or not, but here is a demo page that lists and demobstrates the features,

https://www.bibleanalyzer.com/BALinksTest.html

With Bible Analyzer installed on the same system try clicking some of the links and see if Bible Analyzer will open display the verse.

Some of these links may not work because of code changes since v5.1, but I think the simple open a reference link still works.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

epement
Posts: 53
Joined: Fri Sep 09, 2011 9:00 pm
Location: Florida
Contact:

Re: is there a way to link to BA verses for use in other apps?

Post by epement »

Wow, Tim, this is a great idea! Very nice to see this implemented. You said, "I received essentially no feedback on it" since implementing it, but I was not aware of the Links Test page, and it's not possible to navigate to it from the menu on the web site (Home, Features, Download, Modules ...). It should be promoted more.

I tested all the links with Google Chrome on my Windows 10 with the latest version of Bible Analyzer. All the links worked except one:

bibleanalyzer://search+av/born|again
Search for "born" and "again"

This had three problems. (1) The description should say to search for "born" or "again", since the pipe symbol is an OR operator. (2) The pipe is converted to %7c in the search panel using "percent encoding", even though the pipe is passed literally in the hyperlink. I tried to overcome the automatic conversion using a backslash, but it didn't help. (3) The "//search" method invokes an "Every Word" search instead of a "RegEx" search, so even if a literal pipe symbol were inserted, the search would fail. I couldn't figure out how to change the search method.

In terms of how this might look on a web page, the Chosen People web site offers a very similar hyperlink structure, in which they link Bible verses to either Biblia.com or else to a pre-installed version of Logos (a/k/a Libronix). See this sample page to see how they did it. Look for the tiny "L" in a circle.

I did notice one thing that needs attention. If Bible Analyzer is already active, the hyperlinks will end in an error condition, which I will try to paste to this message. Maybe it will be possible to trap this error and avoid it.
Attachments
BA_error.png
BA_error.png (5.55 KiB) Viewed 1246 times
Eric Pement
2 Cor. 4:5

Tim
Site Admin
Posts: 1266
Joined: Sun Dec 07, 2008 1:14 pm

Re: is there a way to link to BA verses for use in other apps?

Post by Tim »

The error dialog you are getting is because the app is trying to write a .log file to the Program Files/Bible Analyzer folder and this folder is write protected by default. You can change the permissions of the folder but you will still get a message that a log was made. This is a needless notification that I will suppress with v5.5

The OR search with the pipe symbol (born|again) error is caused by the browsers now converting the pipe to an html entity (%7c). I changed the code to compensate for it in the v5.5 beta so everything will work.

I will reannounce this feature with v5.5 which should be ready to test soon. I'll also put a section in the User Manual that has a link to the test page so people can see it work.

I realize only a small fraction od users may find this of any value, but being able to open Bible Analyzer to essentially any verse, topic, comment, or chapter, from a link may be helpful to some.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

Post Reply