|
Ma page perso
|
If you need to make a static HTML mirror of a wiki web operated with TWiki, there is a very nice solution using httrack, using the following command-line. For instance, imagine you have a wiki on the web site twiki.mydomain.com, and the "web" is named "Myweb", and you have added the koala plugin in your twiki. The following command makes a mirror in /home/[user]/websites/mirror_myweb_twiki, of the contents of your wiki, including the raw source and the printable output, and attachments. Note we use a proxy in this example.
httrack -%i -w http://[user]:[password]@twiki.mydomain.com/bin/viewauth/Myweb/WebHome \ -O "/home/[user]/websites/mirror_myweb_twiki" -%P -N0 -s0 -p7 -S -a -K0 -%k -A25000 \ -F "Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)" -%F '' \ -%s -P "proxy.mydomain.com:3128" -x -%x -%u -%U www-data \ '+*.png' '+*.gif' '+*.jpg' '+*.css' '+*.js' '+twiki.mydomain.com/*.pdf' \ '+twiki.mydomain.com/bin/view*/Myweb/*' \ '-twiki.mydomain.com/bin/view*/Myweb/*?raw=*' \ '+twiki.mydomain.com/bin/view*/Myweb/*?raw=on' \ '-twiki.mydomain.com/bin/view*/Myweb/*?skin=*' \ '+twiki.mydomain.com/bin/view*/Myweb/*?skin=koalaprint' \ '+twiki.mydomain.com/pub/Myweb/*'
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 2004 by Olivier Berger
<olivier.berger@int-evry.fr>Selon la formule consacréee, les propos tenus dans ce weblog n'engagent que leur auteur et non l'institution (l'INT ou le GET). | source |