The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

sitemapper - script for generating site maps

SYNOPSIS

    sitemapper [ -verbose ] [ -help ] [-doc ] [ -depth <depth> ] [ -proxy <proxy URL> ] [ -title <page title> ] -site <base URL>

DESCRIPTION

sitemapper generates site maps for a given site. It traverses a site from the base URL given as the "-site" in OPTIONS option and generates an HTML page consisting of a bulleted list which reflects the structure of the site.

The structure reflects the distance from the home page of the pages listed; i.e. the first level bullets are pages accessible directly from the home page, the next level, pages accessible from those pages, etc. Obviously, pages that are linked from "higher" up pages may appear in the "wrong place" in the tree, than they "belong".

OPTIONS

-depth

Option to specify the depth of the site map generated. If no specified, generates a sitemap of unlimited depth.

-site

Option to specify a base URL to generate a site map for.

-proxy

Specify an HTTP proxy to use.

-title

Option to specify a page title for the site map.

-help

Display a short help message to standard output, with a brief description of purpose, and supported command-line switches.

-doc

Display the full documentation for the script, generated from the embedded pod format doc.

-verbose

Enable verbose reporting as the script runs.

ENVIRONMENT

sitemapper makes use of the $http_proxy environment variable, if it is set.

SEE ALSO

Getopt::Long (Getopt::Long) IO::File (IO::File) LWP::UserAgent (LWP::UserAgent) HTML::LinkExtor (HTML::LinkExtor) URI::URL (URI::URL) Pod::Text (Pod::Text) MD5 (MD5) Date::Format (Date::Format)

BUGS

Should use WWW::Robot (WWW::Robot) to do the site traversal.

AUTHOR

Ave Wrigley <wrigley@cre.canon.co.uk> Web Group, Canon Research Centre Europe

COPYRIGHT

Copyright (c) 1998 Canon Research Centre Europe. All rights reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.