Skip to content

Improvement idea I can implement - Quran translations from Wikipedia #91

@TAbdiukov

Description

@TAbdiukov

I have some code that enables displaying several useful Quran translations (especially historical translations), from Wikipedia to any messaging apps. For example,

I can integrate this code with IslamBot. I have the following questions:

  1. Is this code beneficial (since /quran is already implemented) ?
  2. Wikipedia quran translations are originally not designed to be queried by bots (though I don't think anything prevents this), so depending on the source, there are some limitations, which I categorized as follows,
    • Pre-pagination by sura - at most, a bot can query 1 sura at a time
    • Pre-pagination by X ayats in sura - at most, a bot can query x predefined ayats in 1 sura at a time (for example: 10:1 to 10:10, and from 10:10 to 10:20)
    • Pre-pagination by 1 ayat - at most, a bot can query 1 ayat at a time

As such, should the bot try to work within the limitation of 1 query (for example, if bot can query from 10:1 to 10:10; and the user requests 10:1-15, then bot only gives 10:1-10 ?) , should it overcome these limitations by making multiple requests (for example, request 10:1 to 10:10 and 10:10 to 10:20, to give user 10:1-15, however, it can get really excessive if pre-pagination is by 1 ayat at a time). Should the bot maybe inform the user of limitations?

  1. Currently, there is no caching implemented, right?
  2. What command tag or tags should be used? For example, /quran_wiki_xx (which can later become a problem if there are multiple available translations per language), or /buczacki (which can later become a problem if there are multiple sources available per one translator)

I appreciate your thoughts

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