4
edits
(I added a paragraph about how to archive websites with this tool, my previous edit was not saved properly.) |
|||
Line 30: | Line 30: | ||
docker run -it -v $(pwd):/data/dist openzim/zimwriterfs zimwriterfs ... | docker run -it -v $(pwd):/data/dist openzim/zimwriterfs zimwriterfs ... | ||
</code> | </code> | ||
=== Running zimwritefs in a script with wget to archive websites === | |||
[https://github.com/openzim/zimit Zimit] uses the WebARChive standard, which is preferable over wget. However as of 2022 the implementation is incompatible with Kiwix-Desktop. You might want to have a look at [https://github.com/ballerburg9005/wget-2-zim wget-2-zim]. | |||
== Examples of using zimwriterfs == | == Examples of using zimwriterfs == | ||
Line 40: | Line 44: | ||
== Test the ZIM locally == | == Test the ZIM locally == | ||
Use at least one reader e.g. a Kiwix app or server to test the ZIM file contains the expected contents. The Welcome page is displayed, CSS is applied, Images appear, etc | Use at least one reader e.g. a Kiwix app or server to test the ZIM file contains the expected contents. The Welcome page is displayed, CSS is applied, Images appear, etc. | ||
== Known issues == | == Known issues == | ||
Symlinks to content cause zimwriterfs to abort https://github.com/openzim/libzim/issues/16 | Symlinks to content cause zimwriterfs to abort https://github.com/openzim/libzim/issues/16 |
edits