Ivor Williams > OpenGuides-RDF-Reader > og_mirror

Download:
OpenGuides-RDF-Reader-0.05.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

og_mirror - Replicate an OpenGuides site

SYNOPSIS ^

  og_mirror --site http://from.site.url/ --config /path/to/wiki.conf [--days 1] [--scrape]

DESCRIPTION ^

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.

OPTIONS ^

--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

HISTORY ^

   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 

BUGS ^

Please report any bugs in this package using http://rt.cpan.org/ or posting to bugs-openguides-rdf-reader (at) rt.cpan.org.

SUPPORT ^

For discussion of all matters relating to OpenGuides, there is a mailing list http://openguides.org/mm/listinfo/openguides-dev.

AUTHOR ^

        Ivor Williams
        CPAN ID: IVORW
         
        ivorw-openguides (at) xemaps.com
        http://openguides.org/

COPYRIGHT ^

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.

syntax highlighting: