Difference between revisions of "Build your ZIM file"

Jump to navigation Jump to search
485 bytes added ,  15:05, 24 January 2013
no edit summary
Line 24: Line 24:
# Checkout the dumping tools : svn co http://kiwix.svn.sourceforge.net/viewvc/kiwix/dumping_tools/
# Checkout the dumping tools : svn co http://kiwix.svn.sourceforge.net/viewvc/kiwix/dumping_tools/
# Install all necessary Perl modules
# Install all necessary Perl modules
# run the script like following: ./buildZimFileFromDirectory.pl --htmlPath=./html [--indexerPath=./zimindexer] [--zimFilePath=articles.zim]
# run the script like following (arguments in [] are optionals):
 
<pre>
buildZimFileFromDirectory.pl --htmlPath=./html --welcomePage=index.html --favicon=images/favicon.png --language=fra --title=foobar<br/> --creator=foobar --publisher=wmf --description=mydescription [--dbUser=foobar] [--dbPassword=testpass] [--writerPath=./zimWriter]<br/>  [--zimFilePath=articles.zim] [--dbName=kiwix_db] [--dbPort=5432] [--dbHost=localhost] [--rewriteCDATA] [--mediawikiOptim] [--shortenUrls]<br/>  [--removeUnusedRedirects] [--strict] [--avoidForceHtmlCharsetToUtf8] [--compressAll] [--doNotDeleteDbAtTheEnd] [--doNotIgnoreFiles]
</pre>
=== Wiki2html ===
=== Wiki2html ===
[[Wiki2html]] can be used to prepare static HTML files from a running Mediawiki instance.
[[Wiki2html]] can be used to prepare static HTML files from a running Mediawiki instance.

Navigation menu