Interactive Bible links

This might be a little niche. I’m trying to incorporate the functionality of this non-TW plugin. https://bible-link.globalrize.org/ (The manual non-Wordpress version).

It requires, as a minimum, the inclusion of this line at the end of the <body> section:
<script async defer src="https://bible-link.globalrize.org/plugin.js" data-translation="esv16"></script>

In TW this script can be called in the using a tiddler with the tag $:/tags/RawMarkupWikified/BottomBody

Then if a string appears on the page that can be interpreted as a Biblical link, e.g. Matt 1:10 or Matthew 1:10 moving the mouse over the link shows a popup with the relevant text.

The functionality works in a simple non-TW test page but not when the refence is in a tiddler.

Long-shot I know, but does anyone have any ideas how to get this working?

Or maybe there is a better way of doing this in TW?

Can I draw @DaveGifford attention to this in case he has done something similar.

Thanks.

Hi

This is new / news to me. Looks like something I might like to use for my Spanish resources.

  1. Maybe try wrapping the script with <html> </html> tags?

  2. Also, why does it need to be $:/tags/RawMarkupWikified/BottomBody? Would the tag $:/tags/RawMarkup work?

These are wild guesses. Someone here will probably have better answers. Try all four variations of these two ideas to see if any works.

$:/tags/RawMarkup puts it in the <head>. I’ll try the tags.

Thanks.

Well I tried different options and nothing happens. I am going to follow this thread in case someone finds a solution.

You might also try Linking to Biblia.com. Not quite as handy, but at least it is another option.

Thanks, pleased it has got you thinking!

Yes, the fundamental design is probably quite different. We would need to find a way to run this on a tiddler after the normal processing. I don’t know what API globalrize offers, if there’s anything available besides just dropping the script on a page, but you would probably need to take advantage of whatever API it offers.

Unfortunately, I have no time soon to investigate, but if you’re interested, and if they do offer some sort of API to call on demand, then one of the techniques I discuss in Pretty fractions might help. (Sorry, it’s fairly technical.)

Thanks. I sort of guessed this was a timing issue. I have asked Globalrize about an API. There ae other Bible verse APIs, but none that i can see have this neat text parser.