Difference between revisions of "Build your ZIM file"

Jump to navigation Jump to search
159 bytes removed ,  06:43, 12 July 2019
(5 intermediate revisions by the same user not shown)
Line 28: Line 28:


=== Create a ZIM file from existing HTML contents ===
=== Create a ZIM file from existing HTML contents ===
See http://www.openzim.org/wiki/Zimwriterfs_instructions for an overview and read the section below on zimwriterfs for some additional context.
See [[Zimwriterfs instructions]] for an overview and read the section below on zimwriterfs for some additional context.


== Developers ==
== Developers ==
Line 78: Line 78:


===zimmer===
===zimmer===
The [https://github.com/vss-devel/zimmer zimmer] package allows creating a ZIM dump from any accessible Mediawiki-based wiki. This package is relativly easy to install and supports both old and new versions of Mediawiki.
The [https://github.com/vss-devel/zimmer zimmer] package allows creating a ZIM dump from any accessible Mediawiki-based wiki. This package is relatively easy to install and supports both old and new versions of Mediawiki. It is an alternative to MWoffliner.


The package consists of two Node.js scripts:
The package consists of two Node.js scripts:
* ''wikizimmer.js'' -- creates static HTML files from the wiki's articles
* ''wikizimmer.js'' -- creates static HTML files from the wiki's articles
** Unlike mwoffliner, this script does not require Parsoid or Redis.
** Unlike mwoffliner, this script does not require Redis.
* ''zimmer.js'' -- creates a ZIM file from the static HTML files
* ''zimmer.js'' -- creates a ZIM file from the static HTML files (without requiring the libzim)
** Unlike zimwriterfs, this script does not require zimlib.
** This script is used in other projects as a drop-in replacement for zimwriterfs where ''withFullTextIndex'' support is not needed.


== See also ==
== See also ==
* [[ZIM File Archive]]
* [[ZIM File Archive]]
* [[Bindings]]
* [[Bindings]]
* [[Reader]]
* [[Readers]]

Navigation menu