-
-
25 Oct 2009 16:51:03 UTC
- Distribution: Bryar
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (232 / 296 / 2)
- Kwalitee
Bus factor: 0- 54.78% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (31.26KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Bryar::Renderer::SiteMap - Generate an XML sitemap using WWW::Google::SiteMap
SYNOPSIS
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);
DESCRIPTION
This Bryar renderer generates a Google sitemap for the dynamic content of the blog and optionally for a specified list of static files.
METHODS
generate
$self->generate(undef, $bryar, @documents) Returns a Google sitemap from the documents provided by the Bryar object.
LICENSE
This module is free software, and may be distributed under the same terms as Perl itself.
AUTHOR
Copyright (C) 2008, Marco d'Itri <md@Linux.IT>
Module Install Instructions
To install Bryar, copy and paste the appropriate command in to your terminal.
cpanm Bryar
perl -MCPAN -e shell install Bryar
For more information on module installation, please visit the detailed CPAN module installation guide.