In order to provide a description to each ZIM file that can be easily extracted we defined a special namespace M and a standardized set of keywords that should be used.
Every key is defined like an article, the key name is used as the article name, the key value is put into the article text. This way also metadata is compressed, but extendable. Further keys could be used in a ZIM file without breaking the standard but please be aware that maybe the openZIM project will define additional keys in the future. Any ZIM library reading this metadata should ignore missing keys / values and just return NULL values in such cases.
|A human readable identifier for the resource. It's the same across versions (should be stable across time).
|title of zim file. 30 characters maximum recommended.
|creator(s) of the ZIM file content
|English speaking Wikipedia contributors
|creator of the ZIM file itself
|Wikipedia user Foobar
|ZIM creation date (ISO - YYYY-MM-DD)
|description of content (one short sentence). 80 characters maximum recommended.
|All articles (without images) from the english Wikipedia
|extended description of content. Carriage return allowed. 4000 characters maximum recommended.
|This ZIM file contains all articles (without images) from the english Wikipedia by 2009-11-10. The topics are ...
|ISO639-3 language identifier. If many, comma separated, and ordered by "importance" (which should be the number of entries, but in a edge case it can be ordered on an other criteria).
|License code of the content.
|A list of tags
|URI of external related ressources
|A human readable string describing the way how the content has been scraped. It's the same across versions (should be stable across time).
|URI of the original source
|Number of non-redirect entries per mime-type in the C namespace
|Details about the software used to scrape the content, with its version
|A png image (resolution [height] by [width]) to illustrate the zim file.
This must be a binary content (png) with mimeytpe `image/png`.
We follow the same specification than freedesktop https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html for the size and scale of the icon.
Favicon (Old zim file)
Old zim file may have a illustration in
-/favicon (it can be a redirection to the real content).
Reader must be able to read the illustration using this path.
Writer must not set a