-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I have some code that enables displaying several useful Quran translations (especially historical translations), from Wikipedia to any messaging apps. For example,
- https://en.wikisource.org/wiki/The_Qur%27an_(Palmer)/Yunus
- https://pl.wikisource.org/wiki/Koran_(t%C5%82um._Buczacki,_1858)/Rozdzia%C5%82_X
I can integrate this code with IslamBot. I have the following questions:
- Is this code beneficial (since
/quranis already implemented) ? - 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?
- Currently, there is no caching implemented, right?
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request