XML::Generator::RSS10::cc - Support for the Creative Commons (cc) RSS 1.0 module
version 0.02
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/3.0/us/' } ); $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.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install XML::Generator::RSS10, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Generator::RSS10
CPAN shell
perl -MCPAN -e shell install XML::Generator::RSS10
For more information on module installation, please visit the detailed CPAN module installation guide.