[pmwiki-users] Improve export-to-html recipe
Johan Bengtsson
elijah at chalmers.se
Thu Nov 13 05:38:04 PST 2025
Hi,
I tried https://www.pmwiki.org/wiki/Cookbook/ExportHTML but found that it didn't work so well.
"EnableRobotCloakActions = 1; " caused our wiki to just show an HTTP error 500.
This worked:
wget --recursive --level 5 --no-clobber --page-requisites -e robots=off --adjust-extension \
--span-hosts --convert-links --restrict-file-names=ascii --remote-encoding=ISO-8859 \
--domains ourwiki.portal.se --no-parent \
--no-host-directories --reject-regex '(.*)\?(.*)' ourwiki.portal.se/FooWiki/SomeGroup
The important bit is --reject-regex '(.*)\?(.*)' which stops downloading of action= links.
Med vänlig hälsning / Kind Regards
CHALMERS
Johan Bengtsson
Supporttekniker IT | Support Technician IT
Chalmers verksamhetsstöd | Chalmers Operations Support
IT-avdelningen | IT Office | IT-support | IT Support
+46(0)31 772 6734
Chalmers tekniska högskola | Chalmers University of Technology
Chalmers teknikpark / Sven Hultins Gata 9B
SE-412 96
Göteborg | Gothenburg
Sverige | Sweden
www.chalmers.se
More information about the pmwiki-users
mailing list