og_mirror - Replicate an OpenGuides site
og_mirror --site http://from.site.url/ --config /path/to/wiki.conf [--days 1] [--scrape]
This is a script to mirror the contents from another OpenGuides website. It can be run from a cron job to update periodically.
To initially load the wiki, run the script without the --days option. Then, the script can be run periodically with the --days option, to keep the site in line.
--site
Specify the guide website to mirror from.
--config | -c
Path to the config file for the wiki on the localhost.
--days | -d
Number of days back to look at in the RSS feed. Omit this option to work in "hoover" mode.
--scrape
If the OpenGuides site is prior to 0.51, it will not support format=raw. Specify the option --scrape to use HTML scraping of the edit form of action=edit instead.
--help | -h
Show this list of options.
--help --help | -h -h
Display man page.
--version
Show the mirror script's version number
0.01 18-Oct-2005 Initial version 0.02 19-Oct-2005 Exclude updates for pages that haven't changed 0.03 29-Oct-2005 Add HTML scraping option for guides that don't have format=raw Check source URL against database for mirroring multiple guides
Please report any bugs in this package using http://rt.cpan.org/ or posting to bugs-openguides-rdf-reader (at) rt.cpan.org.
For discussion of all matters relating to OpenGuides, there is a mailing list http://openguides.org/mm/listinfo/openguides-dev.
Ivor Williams CPAN ID: IVORW ivorw-openguides (at) xemaps.com http://openguides.org/
Copyright (C) Ivor Williams, 2005
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install OpenGuides::RDF::Reader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenGuides::RDF::Reader
CPAN shell
perl -MCPAN -e shell install OpenGuides::RDF::Reader
For more information on module installation, please visit the detailed CPAN module installation guide.