Difference between revisions of "ZIM file format"

Jump to navigation Jump to search
Line 41: Line 41:
| checksumPos || integer || 72 || 8 || pointer to the md5checksum of this archive without the checksum itself. This points always 16 bytes before the end of the archive.
| checksumPos || integer || 72 || 8 || pointer to the md5checksum of this archive without the checksum itself. This points always 16 bytes before the end of the archive.
|}
|}
A ZIM archive may be embedded in another file at a specific offset. In the context of the ZIM format, the start of the ZIM header is the offset 0. Readers allowing to read an embedded archive must adapt offset accordingly.


=== Major & Minor versions ===
=== Major & Minor versions ===
Line 52: Line 54:
* 1 : We use the new namespace usage (describe here).
* 1 : We use the new namespace usage (describe here).
* 2 : Means that libzim (reference implementation) allow to create alias entries (Several entries pointing to the same cluster/blob). This was already allowed by specification, this is hint only.
* 2 : Means that libzim (reference implementation) allow to create alias entries (Several entries pointing to the same cluster/blob). This was already allowed by specification, this is hint only.
A zim archive may be embedded in another file at a specific offset. In the context of zim format, the start of the zim header is the offset 0. Readers allowing to read an embedded archive must adapt offset accordingly.


{| class="wikitable"
{| class="wikitable"

Navigation menu