openzim / gutenberg

Scraper for downloading the entire ebooks repository of project Gutenberg
https://download.kiwix.org/zim/gutenberg
GNU General Public License v3.0
126 stars 37 forks source link

Replace « mul » ZIM « language » metadata in the multiple language ZiM #174

Closed kelson42 closed 1 year ago

kelson42 commented 1 year ago

With https://github.com/kiwix/libkiwix/issues/872#issuecomment-1441240397 we have decided to not use anymore this « special » ZIM language code. Instead we want to striclty respect the ZIM specification and put the list of languages in a comma separated string.

rgaudin commented 1 year ago

Although the spec doesn't mention anything, it's likely that readers will only display a couple languages at first sight with the rest in an extended view.

I would thus suggest to list the languages ordered by "importance" which we can set to number of entries for the moment.

kelson42 commented 1 year ago

@rgaudin What would be the definition of "important"?

rgaudin commented 1 year ago

I wrote in my comment that we can consider nb of books for now

kelson42 commented 1 year ago

@rgaudin sorry! LGTM, we can update the spec.

kelson42 commented 1 year ago

@rgaudin Can we fix this quickly?

kelson42 commented 1 year ago

Specification updated