ZIM
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				| Dan Tobias  (Talk | contribs)  (Created page with "{{FormatInfo |formattype=electronic |subcat=Web |extensions={{ext|zim}} }} '''ZIM''' is a file format for storing complete dumps of wikis so that they are usable for offline r...") | Dan Tobias  (Talk | contribs)  | ||
| Line 5: | Line 5: | ||
| }} | }} | ||
| '''ZIM''' is a file format for storing complete dumps of wikis so that they are usable for offline reading, with the entire contents contained in a single, relatively compact file. It is based on the older [[Zeno]] format which is no longer in use. | '''ZIM''' is a file format for storing complete dumps of wikis so that they are usable for offline reading, with the entire contents contained in a single, relatively compact file. It is based on the older [[Zeno]] format which is no longer in use. | ||
| + | |||
| + | == Identification == | ||
| + | |||
| + | The first four bytes are (hex) <code>5a 49 4d 04</code>, which represents the long integer "magic number" 72173914 (decimal) in [[Endianness|little-endian]] form. The first three bytes also spell "ZIM" in [[ASCII]]. The two bytes after the first four represent the major and minor version numbers of the file format version. | ||
| == Format info == | == Format info == | ||
| * [http://www.openzim.org/wiki/ZIM_file_format File format description] | * [http://www.openzim.org/wiki/ZIM_file_format File format description] | ||
| + | |||
| + | == Sample files == | ||
| + | * [http://www.openzim.org/wiki/ZIM_File_Example ZIM example, annotated] | ||
| == Software == | == Software == | ||
Latest revision as of 04:21, 2 March 2014
ZIM is a file format for storing complete dumps of wikis so that they are usable for offline reading, with the entire contents contained in a single, relatively compact file. It is based on the older Zeno format which is no longer in use.
| Contents | 
[edit] Identification
The first four bytes are (hex) 5a 49 4d 04, which represents the long integer "magic number" 72173914 (decimal) in little-endian form. The first three bytes also spell "ZIM" in ASCII. The two bytes after the first four represent the major and minor version numbers of the file format version.

