| Search-Sitemap documentation | view source | Contained in the Search-Sitemap distribution. |
Search::Sitemap::Index - Perl extension for managing Sitemap Indexes
use Search::Sitemap::Index;
my $index = Search::Sitemap::Index->new();
$index->read( 'sitemap-index.gz' );
$index->add( Search::Sitemap::URL->new(
loc => 'http://www.jasonkohles.com/sitemap1.gz',
lastmod => '2005-11-01',
) );
$index->write( 'sitemap-index.gz' );
A sitemap index is used to point search engines at your sitemaps if you have more than one of them.
Search::Sitemap::Index inherits all the methods found in Search::Sitemap.
The home page of this module is http://www.jasonkohles.com/software/Search-Sitemap. This is where you can always find the latest version, development versions, and bug reports. You will also find a link there to report bugs.
Jason Kohles, <email@jasonkohles.com>
Copyright (C) 2005-2009 by Jason Kohles
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Search-Sitemap documentation | view source | Contained in the Search-Sitemap distribution. |