The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 1.103300

SYNOPSIS

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

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

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

DESCRIPTION

Abstract interface for URL elements added to sitemap.

ABSTRACT METHODS

loc

URL of the page.

lastmod

The date of last modification of the file.

changefreq

How frequently the page is likely to change.

priority

The priority of this URL relative to other URLs on your site.

as_xml

XML representing the <url> entry in the sitemap.

SEE ALSO

AUTHOR

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

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 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.