Dave Rolsky > XML-Generator-RSS10-0.01 > XML::Generator::RSS10::cc

Download:
XML-Generator-RSS10-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

XML::Generator::RSS10::cc - Support for the Creative Commons (cc) RSS 1.0 module

SYNOPSIS ^

    use XML::Generator::RSS10;

    my $rss = XML::Generator::RSS10->new( Handler => $sax_handler );

    $rss->item( title => 'Exciting News About my Pants!',
                link  => 'http://pants.example.com/my/news.html',
                description => 'My pants are full of ants!',
                cc => { license => 'http://creativecommons.org/licenses/by/2.0/' }
              );

    $rss->channel( title => 'Pants',
                   link  => 'http://pants.example.com/',
                   description => 'A fascinating pants site',
                 );

DESCRIPTION ^

This module provides support for the Creative Commons (cc) RSS 1.0 module.

PARAMETERS ^

This module allows expects one parameter, "license", which can be passed to any method. It will automatically add channel subelements for each license used.