
Bryar::Renderer::SiteMap - Generate an XML sitemap using WWW::Google::SiteMap

my $blog = Bryar->new(
renderer => 'Bryar::Renderer::SiteMap',
sitemap_static_files => [ qw(blogroll.opml foaf.rdf) ],
sitemap_static_basedir => $basedir,
);
my @documents = $blog->config->source->all_documents($blog->config);
print $blog->config->renderer->generate('object', $blog, @documents);

This Bryar renderer generates a Google sitemap for the dynamic content of the blog and optionally for a specified list of static files.

$self->generate(undef, $bryar, @documents)
Returns a Google sitemap from the documents provided by the Bryar object.

This module is free software, and may be distributed under the same terms as Perl itself.

Copyright (C) 2008, Marco d'Itri <md@Linux.IT>