openzim / python-libzim

Libzim binding for Python: read/write ZIM files in Python
https://pypi.org/project/libzim/
GNU General Public License v3.0
60 stars 19 forks source link

Supply mandatory metadata in writer example #193

Closed stuartlangridge closed 5 days ago

stuartlangridge commented 1 week ago

A zim file has certain mandatory requirements in the metadata; for example, Language, Date, and Illustration must be present. If they aren't, then some ZIM reader apps (such as Kiwix for iOS) will refuse to open the zim file. So, add these mandatory pieces to the example code in the readme, so that if you generate a zim file by following the example code, it will be valid. (Discovered in https://github.com/kiwix/kiwix-apple/issues/842)

stuartlangridge commented 5 days ago

Sure thing; those changes seem fine to me!