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.
Search::Sitemap
Search::Sitemap::Ping
http://www.jasonkohles.com/software/Search-Sitemap
http://www.sitemaps.org/
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.
To install Search::Sitemap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Sitemap
CPAN shell
perl -MCPAN -e shell install Search::Sitemap
For more information on module installation, please visit the detailed CPAN module installation guide.