| 1 | package XML::Generator::RSS10::sy; | ||
| 2 | { | ||
| 3 | 10 | $XML::Generator::RSS10::sy::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/rss/1.0/modules/syndication/' } |
|
Subroutine
NamespaceURI: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 11 | |||
| 12 | 10 | 1; | |
| 13 | |||
| 14 | # ABSTRACT: Support for the Syndication (sy) RSS 1.0 module | ||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | XML::Generator::RSS10::sy - Support for the Syndication (sy) 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 | ); | ||
| 38 | |||
| 39 | $rss->channel( title => 'Pants', | ||
| 40 | link => 'http://pants.example.com/', | ||
| 41 | description => 'A fascinating pants site', | ||
| 42 | sy => { updatePeriod => 'hourly', | ||
| 43 | updateFrequency => 2, | ||
| 44 | }, | ||
| 45 | ); | ||
| 46 | |||
| 47 | =head1 DESCRIPTION | ||
| 48 | |||
| 49 | This module provides support for the Syndication (sy) RSS 1.0 module. | ||
| 50 | |||
| 51 | =head1 PARAMETERS | ||
| 52 | |||
| 53 | This module handles all of the Syndication elements: "updatePeriod", | ||
| 54 | "updateFrequency", and "updateBase". | ||
| 55 | |||
| 56 | =head1 AUTHOR | ||
| 57 | |||
| 58 | Dave Rolsky <autarch@urth.org> | ||
| 59 | |||
| 60 | =head1 COPYRIGHT AND LICENSE | ||
| 61 | |||
| 62 | This software is Copyright (c) 2011 by Dave Rolsky. | ||
| 63 | |||
| 64 | This is free software, licensed under: | ||
| 65 | |||
| 66 | The Artistic License 2.0 (GPL Compatible) | ||
| 67 | |||
| 68 | =cut | ||
| 69 | |||
| 70 | |||
| 71 | __END__ | ||