line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#ABSTRACT: Abstract interface for sitemap indexes' Sitemap classes |
2
|
1
|
|
|
1
|
|
23426
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
54
|
|
4
|
|
|
|
|
|
|
package WWW::SitemapIndex::XML::Sitemap::Interface; |
5
|
|
|
|
|
|
|
BEGIN { |
6
|
1
|
|
|
1
|
|
29
|
$WWW::SitemapIndex::XML::Sitemap::Interface::AUTHORITY = 'cpan:AJGB'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
$WWW::SitemapIndex::XML::Sitemap::Interface::VERSION = '2.02'; |
9
|
1
|
|
|
1
|
|
5
|
use Moose::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
requires qw( |
12
|
|
|
|
|
|
|
loc lastmod as_xml |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
5775
|
no Moose::Role; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=encoding UTF-8 |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
WWW::SitemapIndex::XML::Sitemap::Interface - Abstract interface for sitemap indexes' Sitemap classes |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 2.02 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SYNOPSIS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package My::SitemapIndex::Sitemap; |
37
|
|
|
|
|
|
|
use Moose; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
has [qw( loc lastmod as_xml )] => ( |
40
|
|
|
|
|
|
|
is => 'rw', |
41
|
|
|
|
|
|
|
isa => 'Str', |
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
with 'WWW::SitemapIndex::XML::Sitemap::Interface'; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Abstract interface for Sitemap elements added to sitemap index. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 ABSTRACT METHODS |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 loc |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
URL of the sitemap. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 lastmod |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The date of last modification of the sitemap. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 as_xml |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
XML representing the C<E<lt>sitemapE<gt>> entry in the sitemap index. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHOR |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Alex J. G. BurzyÅski <ajgb@cpan.org> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This software is copyright (c) 2014 by Alex J. G. BurzyÅski <ajgb@cpan.org>. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
73
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |