approach
The target is being able to batch process twiki pages. E.G. for spell checking, renaming the department name to the current on and so on. two scripts are provided:
- get_wiki_data.pl, which retrieves the raw version of a twiki page from a twiki server and stores it as a file locally.
- set_wiki_data.pl, which uses a local file and stores it as a twiki topic on a twiki server.
usage
get_wiki_data.pl --url=http://localhost/twiki/bin/edit/Projects/TestLogbuch --fh=ProjectsTestLogbuch.twiki
ispell ProjectsTestLogbuch.twiki # or perl, sed ...
set_wiki_data.pl --url=http://localhost/twiki/bin/edit/Projects/TestLogbuch --fh=ProjectsTestLogbuch.twiki
More attractive application are things like having some cron job monitor something ( a CVS module for example) and publish the results on a Twiki.
further documentation is in the man pages available after installation.
installation
Pretty much standard:
perl Makefile.PL
make
make test # this will probably fail in test 2 and 3 if you do not ha e my setup. Don't worry
make install
code
--
FrankHartmann - 12 Jun 2002