migrate_vqwiki2twiki.pl - convert VQWiki to TWiki.
perl migrate_vqwiki2twiki.pl
Please note: This example script originally lived in the Acme::PM::Dresden distribution. I just renamed Acme::PM::Dresden::TWikiClient into WWW::TWikiClient.
Example script that demonstrates the usage of these classes:
WWW::TWikiClient Acme::PM::Dresden::VQWikiClient Acme::PM::Dresden::Convert::VQWiki2TWiki
With this script I migrated a whole VQWiki into an existing TWiki.
It crawls a given list of topics in VQWiki, reads the raw syntax, converts them into raw TWiki syntax, eventually capitalizes the TWiki topic names and saves the converted content into TWiki.
You can run this script again and again, by watching the result in TWiki, finetuning this script and rerun until everything is ok. It's just like you would repeatedly edit in TWiki.
Go to ::CUSTOMIZATION AREA:: and set your specific URLs and auth.
Steffen Schwigon <schwigon@cpan.org>
Copyright (c) 2005,2006. Steffen Schwigon All rights reserved. You can redistribute and/or modify this bundle under the same terms as Perl itself.
To install WWW::TWikiClient, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::TWikiClient
CPAN shell
perl -MCPAN -e shell install WWW::TWikiClient
For more information on module installation, please visit the detailed CPAN module installation guide.