Giter Site home page Giter Site logo

majal / bible-linker-google-docs Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 4.0 6.64 MB

A Google Documents Apps Script that searches for Bible verses and creates links to a selection of online Bible sources.

License: MIT License

JavaScript 94.27% HTML 5.73%
apps-script bible-verses google-docs linker

bible-linker-google-docs's Introduction

Bible Linker for Google Docs

A Google Documents Apps Script and Add-on that searches for Bible verses and converts them to links. Choose from a selection of online Bible sources.

How to use

As an add-on

  1. Install the Bible Linker add-on from Google Marketplace.
    For those who installed Bible Linker via Google Marketplace before April 12, 2023, you will need to reinstall the add-on as v2 required an additional permission to make Bible Linker modular.
  2. In your Google Document, find the add-on under Extensions > Bible Linker. (For those using Google Workspace accounts, the add-on may be found under Add-ons > Bible Linker.)

As a stand-alone script

  1. In your Google Document, click Extensions > Apps Script.
  2. In the page that will open, copy and paste the contents of Code.gs.
  3. Save. You may now close the Apps Script window and refresh your document.
  4. Find Bible Linker in the top-level Menu. Enjoy!

Tip: If there is no selected text, Bible Linker will process the whole document. If you highlighted a selection, it will only create links in that selected portion of the document.

Improving the script

Coders are welcome to improve the script. It's open source. MIT license.

Things that could be worked on:

  • Find and fix bugs
  • Support for other languages Done in v2!
  • Support for more online Bibles Done in v2!
  • Check if Bible reference (chapter and verse) is valid Done in v2!
  • Apply books exclusions, where some books are not available for a specific Bible version Done in v2!
  • Add new languages by creating JSON files.
    For samples of valid JSON files, see the bible-data directory.
    Testing of new JSON files can be done via the menu Extensions > Bible Linker > Choose language (data source) > Set custom data source ...

Other copyrights

The Bibles and languages initially supported came from versions listed in jw.org and Watchtower Online Library. The Terms of Use of these websites do not allow the sharing of their contents. However, it allows linking to these websites, which is what this script does.

bible-linker-google-docs's People

Contributors

drewmarps avatar majal avatar sanson97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bible-linker-google-docs's Issues

Bible Linker not functioning

I've installed Bible Linker from Google Marketplace on both Chrome and Edge and both times got the same message:

Message details
Script function not found: dfv_en_jw_en_jw_kjv

This occurs when I try to select either a different bible version or try to insert the links.

Help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.