NAME
WWW::Sitemap::XML::Types - Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL
VERSION
version 1.103300
DESCRIPTION
Type constraints used by WWW::Sitemap::XML and WWW::Sitemap::XML::URL.
TYPES
Location
has 'loc' => (
is => 'rw',
isa => Location,
);
URL location, coerced from Uri via { $_->as_string }
.
ChangeFreq
has 'changefreq' => (
is => 'rw',
isa => ChangeFreq,
);
Valid values are:
always
hourly
daily
weekly
monthly
yearly
never
Priority
has 'priority' => (
is => 'rw',
isa => Priority,
);
Subtype of Num
with values in range from 0.0
to 1.0
.
SitemapURL
has 'url' => (
is => 'rw',
isa => SitemapURL,
);
Subtype of Object
, argument needs to implement WWW::Sitemap::XML::URL::Interface.
SitemapIndexSitemap
has 'sitemap' => (
is => 'rw',
isa => SitemapIndexSitemap,
);
Subtype of Object
, argument needs to implement WWW::SitemapIndex::XML::Sitemap::Interface.
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.