8,236
edits
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Translations}} | {{Translations}} | ||
The Kiwix tools are a set of scripts (mostly in Perl) aiming to help creating content usable by Kiwix. | ''This tools are deprecated. Although they may work under certain conditions, we don't provide support for them.'' | ||
The Kiwix tools are a set of scripts (mostly in Perl) aiming to help creating content usable by Kiwix. Current development code can be found at: | |||
<nowiki>svn co http://kiwix.svn.sourceforge.net/svnroot/kiwix/tools/ kiwix-tools</nowiki> | |||
Kiwix is primarily designed as a tool to publish copies of Wikipedia, but every effort is made to ensure it would also be useful for: | Kiwix is primarily designed as a tool to publish copies of Wikipedia, but every effort is made to ensure it would also be useful for: | ||
Line 66: | Line 69: | ||
* Log::Log4perl | * Log::Log4perl | ||
* Getargs::Long | * Getargs::Long | ||
=== Debian/Ubuntu dependencies === | |||
<pre>sudo apt-get install liblog-log4perl-perl libdata-dumper-simple-perl libxml-simple-perl | |||
libxml-libxml-perl libarray-printcols-perl libgetargs-long-perl | |||
liburi-perl libdata-dumper-simple-perl libhtml-linkextractor-perl | |||
libhtml-parser-perl libdbd-pg-perl</pre> | |||
==Usage== | ==Usage== | ||
Line 99: | Line 108: | ||
* [http://kiwix.svn.sourceforge.net/viewvc/kiwix/dumping_tools/scripts/buildZimFileFromDirectory.pl?view=log buildZimFileFromDirectory.pl] creates a ZIM file from a directory tree containing static HTML and other content files. | * [http://kiwix.svn.sourceforge.net/viewvc/kiwix/dumping_tools/scripts/buildZimFileFromDirectory.pl?view=log buildZimFileFromDirectory.pl] creates a ZIM file from a directory tree containing static HTML and other content files. | ||
[[Category:Developer's Guide]] | [[Category:Developer's Guide]] | ||
== Virtual machine == | |||
We have prepared a VM to help people to make ZIM files from their HTML files. Download it [http://download.kiwix.org/dev/ZIMmakerVMv3.ova there]. Unix login/pass are root/kiwix and for postgres: postgres/kiwix. To build your ZIM file go to root/dumping_tools/scripts and use buildZimFileFromdirectory.pl. | |||
== See also == | |||
* [[:File:Pediapress zim creation approach with mediawiki collection extension.jpg]] | |||
* [[:File:Kiwix zim creation approach.jpg]] |
edits