GithubHelp home page GithubHelp logo

Comments (2)

fawazahmed0 avatar fawazahmed0 commented on June 17, 2024

Especially for me this is important because I am iterating through the Arabic and Translated json file.

You should match arabic hadithnumber with translated json hadithnumber.

You can also use:
https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/ara-tirmidhi/{hadithnumber}.json
https://cdn.jsdelivr.net/gh/fawazahmed0/hadith-api@1/editions/tur-tirmidhi/{hadithnumber}.json
to get the same hadith

Inshallah will look into these issues later and try to fix them all.

from hadith-api.

unkn4wn avatar unkn4wn commented on June 17, 2024

I'm using it offline and I know what you mean but the problem is if the text is empty just like with the "Integer" Hadithnumbers you just need to check "Is 3605th position text empty?" in translated json file to know the existence. This can be established relatively fast.

But if its missing completely just like with the "Double" Hadithnumbers instead of showing just an empty text, you're forced to iterate through the translated json file after every hadith in Arabic json file to check if the hadithnumbers/arabicnumbers are identical with the translated one.

InshaaAllah

from hadith-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.