Skip to content

Scriptural references #16

@dragfyre

Description

@dragfyre

Implement ways for the bot to resolve references to Bahá'í scripture:

  • /jump-to commands to link to a given section of scripture
  • Automatic parsing of references given in message text

jump-to commands

This is an evolution of the reader functionality (see discussion at #14) to allow the bot to link to given paragraphs and pages of various Bahá'í scripture. Per @brettz9 this has already been implemented via the /works-by-... commands:

Image

Automatic parsing

Bots such as BibleBot will automatically parse references to scripture and display or link to the verse in question, as seen in the screenshot below. It would be nice to have something similar for references to different Bahá'í Writings—but in light of our experiences with implementing the reader, preference would go to linking to offsite documents.

The main issue with this system would be figuring out in what format scriptural references should be given in order to be properly parsed. For instance, parsing something like "John 3:16" or "Quran 42:4" is very easy because the system of biblical referencing is very well established and both the Bible and Qur'an lend themselves well to this (with the whole book/chapter/verse format of those books).

Image

Resolving references

Some Bahá'í books are easier to parse than others - for instance, the Kitáb-i-Aqdas is already very clearly and authoritatively split into paragraphs and so something like "Aqdas K95", "Aqdas n14" or "Adqas Q7" makes sense. Other books like, say, Paris Talks, are not split up in this way, so references to this book would be much harder to handle and would fall into the issues raised in #2 - what counts as a paragraph or sub-paragraph.

Feel free to take time to discuss this one, as I feel like it may take some work to properly scope it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions