RSS10/dc.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 78.5% 11 / 14 CC 1 SCAR 2.9
CC
1
Cov
90%
NamespaceURI
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« RSS10/admin.pm ↑ Summary RSS10/sy.pm »
1 package XML::Generator::RSS10::dc;
2 {
3 10 $XML::Generator::RSS10::dc::VERSION = '0.02';
4 }
5  
6 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 10 ▶use base 'XML::Generator::RSS10::Module';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 0 ▶sub NamespaceURI { 'http://purl.org/dc/elements/1.1/' }
Subroutine NamespaceURI: not called CC=1 SCAR=6.9
Pod undocumented
11  
12 10 1;
13  
14 # ABSTRACT: Support for the Dublin Core (dc) RSS 1.0 module
15  
16  
17  
18 =pod
19  
20 =head1 NAME
21  
22 XML::Generator::RSS10::dc - Support for the Dublin Core (dc) RSS 1.0 module
23  
24 =head1 VERSION
25  
26 version 0.02
27  
28 =head1 SYNOPSIS
29  
30 use XML::Generator::RSS10;
31  
32 my $rss = XML::Generator::RSS10->new( Handler => $sax_handler );
33  
34 $rss->item( title => 'Exciting News About my Pants!',
35 link => 'http://pants.example.com/my/news.html',
36 description => 'My pants are full of ants!',
37 dc => { creator => 'The More or Less Mighty' },
38 );
39  
40 $rss->channel( title => 'Pants',
41 link => 'http://pants.example.com/',
42 description => 'A fascinating pants site',
43 dc => { publisher => 'The Pants People',
44 rights => 'Mine, all mine!',
45 date => $date,
46 },
47 );
48  
49 =head1 DESCRIPTION
50  
51 This module provides support for the Dublin Core (dc) RSS 1.0 module.
52  
53 =head1 PARAMETERS
54  
55 This module handles all of the Dublin Core elements, such as
56 "creator", "publisher", "date", etc.
57  
58 =head1 AUTHOR
59  
60 Dave Rolsky <autarch@urth.org>
61  
62 =head1 COPYRIGHT AND LICENSE
63  
64 This software is Copyright (c) 2011 by Dave Rolsky.
65  
66 This is free software, licensed under:
67  
68 The Artistic License 2.0 (GPL Compatible)
69  
70 =cut
71  
72  
73 __END__
« RSS10/admin.pm ↑ Summary RSS10/sy.pm »