NAME
App::Followme::CreateSitemap - Create a Google sitemap
SYNOPSIS
use App::Followme::Sitemap;
my $map = App::Followme::Sitemap->new();
$map->run($folder);
DESCRIPTION
This module creates a sitemap file, which is a text file containing the url of every page on the site, one per line. It is also intended as a simple example of how to write a module that can be run by followme.
CONFIGURATION
The following field in the configuration file are used:
- sitemap
-
The name of the sitemap file. It is written to the directory this module is invoked from. Typically this is the top folder of a site. The default value is sitemap.txt.
- remote_url
-
The url of the website, e.g. http://www.example.com.
- data_pkg
-
The package used to retrieve information from each file contained in the sitemap. The default value is 'App::Followme::WebData'.
LICENSE
Copyright (C) Bernie Simon.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Bernie Simon <bernie.simon@gmail.com>