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


XML-Generator-RSS10 documentation  | view source Contained in the XML-Generator-RSS10 distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

PARAMETERS

Top

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


XML-Generator-RSS10 documentation  | view source Contained in the XML-Generator-RSS10 distribution.