[Tiki-users] Dump wiki pages / authentification scheme

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Fri, 02 Sep 2022 17:48:53 +0200
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Hi

I'm searching for a way to dump (all) wiki pages as HTML pages. 

I've tried wget, passing user and password on the command line. It doesn't
work, complaining "Unknown authentication scheme. Username/Password
Authentication Failed.".

It also doesn't work with curl, also passing user and password on the
command line, and additionally specifying the "--anyauth" argument. This
says that curl should figure out how to authenticate. It dumps a HTML page,
which consists of part of the "Permission denied. You can't view this page."
page. This page is some 400 lines long, with lots of Javascript...

How can the authentication be accomplished from a command line tool like
wget or curl..?

If I were to write a PHP script, which downloads the pages, rendered as
HTML, where should I start? tikilib? wikilib? Somewhere else?

Cheers,
Volker

_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmMSJeUACgkQ+K4ydFOs
HoUqSg//avHYDbgDA8SdO3wokXMIYNATafcx2m8zzySDOmy1Q8nJD3Kvb7tfr/8I
AqDfT7fZicrmTshuVE9NCrIlysNZGebTOHPl5Dr+4U2mhq/xzIvXKzGUaGYvCU8V
Fg/9o1DTbq7p3QAGTCUXjyX1YNz1KNAQVVly9EO1RYp9U2TUOnmmW3yB0eYzrBIk
04ozLkxBrMg2SBNA2YXiMJpQnUeKYACexxb2+MVqapmsMzrs3PyMAyFgvxt7ws0D
qltcXtbuhCDlHwNA2W+uUadkTLrEwyLzn+7h+TgbyAZr9/7Dp83Ak+x4edoDEn3Y
rOzbZi/blxqkckZFBRR4Lr+wx+/NnveeydvudalcPElHiwrcJjSjk9mOODIFTJrW
6Vq26FmJNd2yixzpVQhwE6zxTXzZKnNoVsJAZArhyevwc/AkrmibxI2Gwfjv+fnk
RPEpXMACchtpb6U9zuB2eJygMKf1zh4TP/N7s+n+r/xb8s4N9Gi7V15GCbRpDWNY
7beMIbh4anO1oAgDWCEgktC1/nguy9FcOs3cvdV5uCQvW4B+d4ISc2kNdvmZaeG1
3XSlUtkjjKIYKWPA7KGFgtkNT00pAuzzPZDSzR8PYrIcEO+SGQy6nZdZRjuQ3b/V
1L7hP91qQa1NSyvS29BwSLwMmWgHU9CiAU1IUaLmO5ilNJ3FrTU=
=BnQJ
-----END PGP SIGNATURE-----