XML::API::RSS - RSS feed generation through an object API
0.30 (2016-04-11)
use XML::API; my $x = XML::API->new(doctype => 'rss'); $x->rss_open; $x->channel_open; $x->title('Liftoff News'); $x->link('http://liftoff.msfc.nasa.gov/'); $x->description('Liftoff to Space Exploration.'); $x->language('en-us'); $x->pubDate('Tue, 10 Jun 2003 04:00:00 GMT'); $x->lastBuildDate('Tue, 10 Jun 2003 09:41:01 GMT'); $x->docs('http://blogs.law.harvard.edu/tech/rss'); $x->generator('Weblog Editor 2.0'); $x->managingEditor('editor@example.com'); $x->webMaster('webmaster@example.com'); $x->item_open; $x->title('Star City'); $x->link('http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp'); $x->description('A description of sorts.'); $x->pubDate('Tue, 03 Jun 2003 09:39:21 GMT'); $x->guid('http://liftoff.msfc.nasa.gov/2003/06/03.html#item573'); $x->item_close; $x->channel_close; $x->rss_close; print $x;
XML::API::RSS is a perl object class for creating RSS documents. This module is not normally used directly, but automatically required by XML::API as needed. See that class for documentation instead.
XML::API
Mark Lawrence <nomad@null.net<gt>
Copyright (C) 2004-2008,2015,2016 Mark Lawrence <nomad@null.net>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
To install XML::API::Element, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::API::Element
CPAN shell
perl -MCPAN -e shell install XML::API::Element
For more information on module installation, please visit the detailed CPAN module installation guide.