openzim / nautilus

Turns a collection of documents into a browsable ZIM file
GNU General Public License v3.0
19 stars 14 forks source link

Allow JSON "file" entry to be a string scalar #27

Closed kelson42 closed 1 year ago

kelson42 commented 2 years ago

Tha means that the files JSON entry could be an list OR a string. This would be helpful because the case of only one file per entry represents 99% of the cases and this is pretty hard for non-dev to create JSON list entries with a tool like csv2json.

rgaudin commented 2 years ago

Probably an easy fix but this is wrong IMO. This is not a UI. It's a scraper that takes a JSON as input. JSON is a strict format that requires rigorousness. Adapting the format so people can edit it easily or can convert easily from some tool is definitely not the right approach.

kelson42 commented 2 years ago

I agree with your feedback. I will close the ticket. It is just that here we have a huge ratio between the effort and the result. I see no other easy alternative. Building a proper UI would probably need 1-2 weeks.

rgaudin commented 2 years ago

We can implement it. We just need to acknowledge that it stops there and any further accommodation would go through an appropriate UI.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

deepu-bansal commented 1 year ago

hey , can i work on this issue?

rgaudin commented 1 year ago

Well, now that we are actually about to start a WebUI, Iet's close this ticket. Thank for bringing it to our attention though.