NAME

WWW::SitemapIndex::XML::Sitemap::Interface - Abstract interface for sitemap indexes' Sitemap classes

VERSION

version 2.02

SYNOPSIS

package My::SitemapIndex::Sitemap;
use Moose;

has [qw( loc lastmod as_xml )] => (
    is => 'rw',
    isa => 'Str',
);

with 'WWW::SitemapIndex::XML::Sitemap::Interface';

DESCRIPTION

Abstract interface for Sitemap elements added to sitemap index.

ABSTRACT METHODS

loc

URL of the sitemap.

lastmod

The date of last modification of the sitemap.

as_xml

XML representing the <sitemap> entry in the sitemap index.

AUTHOR

Alex J. G. Burzyński <ajgb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Alex J. G. Burzyński <ajgb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.