Coder Social home page Coder Social logo

bibleget-i-o / bibleget-google-docs-addin Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 420 KB

Google Docs Addin for the BibleGet I/O Project

License: Apache License 2.0

JavaScript 45.88% HTML 54.12%
bible bible-quote google-docs-addon google-docs scripture catholic catholic-bible apps-script

bibleget-google-docs-addin's People

Contributors

johnrdorazio avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bibleget-google-docs-addin's Issues

add option for preferring Greek or Hebrew origin of Bible texts

Since most Catholic versions of the Bible offer both Greek and Hebrew versions of certain Bible texts (such as the Book of Esther), the API now accounts for this by offering a new parameter preferorigin.

We need to account for this when retrieving a quote by giving the option to prefer the Greek or the Hebrew origin.

allow to write references directly in the document

From user feedback:
Similarly to the BibleGet add-on for Microsoft Word, it could be useful to have a function that would transform a selected Bible reference in the document into a Bible quote.
And other than that, a function that could scan a document and transform Bible references into Bible quotes.

Refactor variable namings to follow consistent pattern

I don't really care a whole lot about whether variables should be lowercase, camelcase, uppercase, propercase, or whatever. These conventions are not always agreed upon, and can even tend to change in the general consensus of the programming community.
However it is useful to choose one convention and stick to it within the same project.
In this case, the first set of variables defined for the user preferences were in propercase.
Then, in a later major rehaul of the code with a number of large additions, constants which helped define English language values for the user preferences were introduced along with a number of new user preferences, which were then organized into groups. Most of the new user preferences were defined in uppercase.
Now whether we use uppercase or propercase I don't really care, I just think they should be consistent with one or the other.

Better search word highlighting

In the add-on for Microsoft Word, the highlighting of the search term in the search results not only highlights the exact match of the search term, but also lightly highlights the rest of the word for a better user experience.
This means a slightly more advanced version of the addMark function. The Word add-on source code can be used for reference.

add exactmatch option

By default, full text search will limit matches to words of at least 4 characters. The BibleGet endpoint has brought this limit down to 3 characters.
The exactmatch option will use a regex match rather than a fulltext search, and will only return exact matches, not partial matches. This also brings the limit down to 2 characters.

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.