Closed ahmedre closed 2 years ago
@ahmedre , We could spin up a server that does this conversion, but I wanted to know, shouldn't this be done by the App itself? So, if I wanted to get CSV, I have to first export the bookmarks, then upload them and download the CSV. Instead, wouldn't it be more convenient if the App could export it in CSV itself in addition to JSON format?
that's true - the only reason i didn't think to put it in the app directly is because i've only seen one person request this so far (and the default format is json which is easy to parse and i think should be shared with the iOS app (though not sure if it is or not)).
In that case, I can run a server on Heroku which does this. Do you have a language preference for the same?
I am asking this because in the future we might end up merging it with Quran.com backend.
Also, can you share the CSV format in which the output is expected (or should I plainly spit out CSV from JSON)?
i don't think it has to be a service - i just want to point people to "use this to convert from json to csv format" if someone asks - so a simple script in any language would do the trick
@ahmedre, I checked on my iPhone5, I couldn't find any export bookmarks option. However the bookmarks tab correctly shows three kinds of bookmark - Page bookmarks, Ayah bookmarks and Recent pages. (there is no concept of tag)
oh i didn't realize there aren't tags on the iOS app yet. i guess the hope is that the files would be shareable between both apps once the iOS app supports this.
i don't think it has to be a service - i just want to point people to "use this to convert from json to csv format" if someone asks - so a simple script in any language would do the trick
is it still open?
Is it still open?
Salam.
Yes, please. Issues with PRs Welcome
tag are open to anyone wishing to contribute.
Salam @ahmedre bhai, I worked with you in Careem and i would love to contribute in this. What if we add directly export CSV in the app?
wa3laikum alsalam @jibraniqbal666 bhai, nice to hear from you - sure, as long as the PR isn't in Flutter 😂 there is an export feature already that exports json so maybe we can just have one option to export csv and one to export json when you tap the export button? walsalam 3alaikum
Came up with this schema i will pull up PR, it's just export not import. :) @ahmedre
jazakumAllah khairan Jibran - merged via #1946
This was requested via email - but if we can provide a script (or a small website?) so that people can easily upload Quran for Android json files and have them output as csv instead would be useful.