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

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

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

XML::Generator::RSS10::dc - Support for the Dublin Core (dc) RSS 1.0 module

SYNOPSIS ^

    use XML::Generator::RSS10;

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

    $rss->channel( title => 'Pants',
                   link  => 'http://pants.example.com/',
                   description => 'A fascinating pants site',
                   content     =>
                   { items =>
                     [ { format   => 'http://www.w3.org/1999/xhtml',
                         content  => '<b>Axis</b> Love',
                       },
                       { format   => 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional',
                         about    => 'http://example.com/content-elsewhere',
                       },
                       { format   => 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional',
                         encoding => 'http://www.w3.org/TR/REC-xml#dt-wellformed',
                         content  => '<i>italics</i>',
                       },
                     ],
                   },
                 );

DESCRIPTION ^

This module provides support for the Content (content) RSS 1.0 module.

PARAMETERS ^

This module expects to receive a single parameter, "items". This parameter should be an arrayref of hash references. Each of these hash references should contain a single item's content.

The hash references may contain the following parameters: