Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
251 stars 89 forks source link

List topics and subtopics #525

Closed iTarek closed 3 years ago

iTarek commented 3 years ago

السلام عليكم ورحمة الله وبركاته We can list chapters using this https://www.alfanous.org/jos2?action=show&query=chapters

Is there is a way to list Topics and Subtopics ?

Also why this not working https://www.alfanous.org/api/show/?query=chapters

PS: Brother this is one of kind project, please don't stop working on it. Imagine from all muslims you are the only one who made such a project, really proud of you.

assem-ch commented 3 years ago

وعليكم السلام ورحمة الله وبركاته

We can list chapters using this https://www.alfanous.org/jos2?action=show&query=chapters Is there is a way to list Topics and Subtopics ?)

no, but we can expose the topics and subtopics too

Also why this not working https://www.alfanous.org/api/show/?query=chapters

You can use jos2/ , we'll keep it is alias even after fixing this logic with api/

PS: Brother this is one of kind project, please don't stop working on it. Imagine from all muslims you are the only one who made such a project, really proud of you.

Thank you, bro for your encouragement, I keep do some changes from time to time , I dropped some dead weight from code just to keep things rolling.

iTarek commented 3 years ago

no, but we can expose the topics and subtopics too

How to expose the topics and subtopics too? can you give example please?

assem-ch commented 3 years ago

https://www.alfanous.org/api/show/?query=topics https://www.alfanous.org/api/show/?query=subtopics

iTarek commented 3 years ago

https://www.alfanous.org/api/show/?query=topics https://www.alfanous.org/api/show/?query=subtopics

It's not working brother, try it yourself

assem-ch commented 3 years ago

They are not implemented yet, but it will be on those endpoints, same structure as chapters

iTarek commented 3 years ago

They are not implemented yet, but it will be on those endpoints, same structure as chapters

Can you send the topics and subtopics to me as strings in file, I will hardcoded them anyway on the app

iTarek commented 3 years ago

I just want 2 text files One has all topics separated by comma Other has all subtopics separated by comma

Can you do this for me please

ghost commented 3 years ago

chapter-topics.xlsx

here is the file, but we'll do the api anyway and by time it will be dynamic based on search results: Facets

iTarek commented 3 years ago

chapter-topics.xlsx

here is the file, but we'll do the api anyway and by time it will be dynamic based on search results: Facets

Thank you very much brother you will made the App allot better

جزاك الله خير