| 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__ | ||