An innovative tool for application developers

Wanting to make the Sacred Scriptures more usable in an era in which the web as a tool has become an almost essential part of our daily lives, we have created a tool that is useful particularly for application developers (for websites, plugins, scripts etc.) to facilitate automatic quotations of the Sacred Scriptures in a website, in a blog, in an online document. Soon some example applications will be available so that the utility of this tool in developing applications can be readily seen, for example there will be a plugin for WordPress and a Script for Google Docs.

Practically as of today you can find the Bible online published in various editions, but consultation is often quite laborious and is quite difficult to integrate into a web site, a blog post, or any kind of application. It is complicated to get precise quotations, and usually it’s not possible to consult more than one book at a time. But what if you want to make a quotation with a complex query that gives you precise verses across different books?

And so I thought it would be useful to create a modern tool that would be useful particularly for application developers, although with some ready-made applications it can also be useful to the final user (blog owner, website manager, etc.).

Formulating a query against the url “http://www.bibleget.io/query/” with the parameter “query=”, you can obtain a structured data response that corresponds to a precise quotation of the Sacred Scripture from a complex query in one of three formats: json, xml, or html. The default format is json. The queries can be quite complex, such as the following:

http://www.bibleget.io/query/?query=Mt1,3-5.7-9;15,4-8;Mc1,3-5.7-9

The structured data in the response can then be elaborated by the application that is making the request. The result of the query above will be:

{“results”:[{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Giuda generò Fares e Zara da Tamar, Fares generò Esrom, Esrom generò Aram,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Aram generò Aminadàb, Aminadàb generò Naassòn, Naassòn generò Salmon,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:5,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Salmon generò Booz da Racab, Booz generò Obed da Rut, Obed generò Iesse,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:7,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Salomone generò Roboamo, Roboamo generò Abia, Abia generò Asaf,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:8,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Asaf generò Giòsafat, Giòsafat generò Ioram, Ioram generò Ozia,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:1,”versedescr”:””,”verse”:9,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Ozia generò Ioatàm, Ioatàm generò Acaz, Acaz generò Ezechia,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Dio ha detto:”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”b”,”partialverse_isdescr”:0,”text”:”Onora il padre e la madre”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”c”,”partialverse_isdescr”:0,”text”:”e inoltre:”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”d”,”partialverse_isdescr”:0,”text”:”Chi maledice il padre o la madre sia messo a morte.”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:5,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Voi invece dite: \”Chiunque dichiara al padre o alla madre: Ciò con cui dovrei aiutarti è un’offerta a Dio,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:6,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”non è più tenuto a onorare suo padre\”. Così avete annullato la parola di Dio con la vostra tradizione.”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:7,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Ipocriti! Bene ha profetato di voi Isaia, dicendo:”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:8,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Questo popolo mi onora con le labbra,”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Matteo”,”chapter”:15,”versedescr”:””,”verse”:8,”verseequiv”:””,”partialverse”:”b”,”partialverse_isdescr”:0,”text”:”ma il suo cuore è lontano da me.”,”bookabbrev”:”Mt”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Voce di uno che grida nel deserto:”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”b”,”partialverse_isdescr”:0,”text”:”Preparate la via del Signore,”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”c”,”partialverse_isdescr”:0,”text”:”raddrizzate i”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”d”,”partialverse_isdescr”:0,”text”:”suoi”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”e”,”partialverse_isdescr”:0,”text”:”sentieri”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:3,”verseequiv”:””,”partialverse”:”f”,”partialverse_isdescr”:0,”text”:”,”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:4,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”vi fu Giovanni, che battezzava nel deserto e proclamava un battesimo di conversione per il perdono dei peccati.”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:5,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Accorrevano a lui tutta la regione della Giudea e tutti gli abitanti di Gerusalemme. E si facevano battezzare da lui nel fiume Giordano, confessando i loro peccati.”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:7,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”E proclamava: \”Viene dopo di me colui che è più forte di me: io non sono degno di chinarmi per slegare i lacci dei suoi sandali.”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:8,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Io vi ho battezzato con acqua, ma egli vi battezzerà in Spirito Santo\”.”,”bookabbrev”:”Mc”},{“testament”:”Nuovo Testamento”,”section”:”Vangeli”,”book”:”Marco”,”chapter”:1,”versedescr”:””,”verse”:9,”verseequiv”:””,”partialverse”:”a”,”partialverse_isdescr”:0,”text”:”Ed ecco, in quei giorni, Gesù venne da Nàzaret di Galilea e fu battezzato nel Giordano da Giovanni.”,”bookabbrev”:”Mc”}]}

Adding “&return=html” to the querystring (“http://www.bibleget.io/query/?query=Mt1,3-5.7-9;15,4-8;Mc1,3-5.7-9&return=html”), we will have as a result:

 

Share your thoughts!

This site uses Akismet to reduce spam. Learn how your comment data is processed.