NAME

WWW::Sitemap::XML::URL::Interface - Abstract interface for sitemap's URL classes

VERSION

version 2.01

SYNOPSIS

package My::Sitemap::URL;
use Moose;

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

has [qw( images videos )] => (
    is => 'rw',
    isa => 'ArrayRef',
);

has [qw( mobile )] => (
    is => 'rw',
    isa => 'Bool',
);

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

DESCRIPTION

Abstract interface for URL elements added to sitemap.

See WWW::Sitemap::XML::URL for details.

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.