| XML-Generator-RSS10 documentation | view source | Contained in the XML-Generator-RSS10 distribution. |
XML::Generator::RSS10::cc - Support for the Creative Commons (cc) RSS 1.0 module
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',
);
This module provides support for the Creative Commons (cc) RSS 1.0 module.
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. |