Difference between revisions of "Zimwriterfs instructions"

Jump to navigation Jump to search
I added a paragraph about how to archive websites with this tool, my previous edit was not saved properly.
(Adapations for move to zim-tools + less "warnings" + more precise docker usage)
(I added a paragraph about how to archive websites with this tool, my previous edit was not saved properly.)
 
(3 intermediate revisions by 2 users not shown)
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 ==
<code>
<code>
docker run -it -v $(pwd):/data openzim/zimwriterfs zimwriterfs --uniqueNamespace -w index.html -f icon.png -l eng -t "Testing Heuristics" -d "Early cut of the testing heuristics material." -c "Julian Harty" -p "Commercetest Ltd." /data/dist /data/th-ln.zim
docker run -it -v $(pwd):/data openzim/zim-tools zimwriterfs -w index.html -I icon.png -l eng -t "Testing Heuristics" -d "Early cut of the testing heuristics material." -c "Julian Harty" -p "Commercetest Ltd." /data/dist /data/th-ln.zim


docker run -it -v $(pwd):/data openzim/zimwriterfs zimwriterfs -w index.html -f tess.png -l eng -t "Visions for Teaching and Learning" -d "Sample TESS content: Week 1" -c "Open University" -p "Julian Harty" /data/dist /data/week1.zim
docker run -it -v $(pwd):/data openzim/zim-tools zimwriterfs -w index.html -I tess.png -l eng -t "Visions for Teaching and Learning" -d "Sample TESS content: Week 1" -c "Open University" -p "Julian Harty" /data/dist /data/week1.zim
</code>
</code>


Navigation menu