package XML::API::RSS;
use strict;
use warnings;
use 5.006;
use base qw(XML::API);

our $VERSION = '0.30';

my $xsd = {};

sub _doctype {
    return '';

sub _xsd {
    return $xsd;

sub _root_element {
    return 'rss';

sub _root_attrs {
    return { version => '2.0' };

sub _content_type {
    return 'application/rss+xml';



=head1 NAME

XML::API::RSS - RSS feed generation through an object API

=head1 VERSION

0.30 (2016-04-11)


  use XML::API;
  my $x = XML::API->new(doctype => 'rss');

  $x->title('Liftoff News');
  $x->description('Liftoff to Space Exploration.');
  $x->pubDate('Tue, 10 Jun 2003 04:00:00 GMT');
  $x->lastBuildDate('Tue, 10 Jun 2003 09:41:01 GMT');
  $x->generator('Weblog Editor 2.0');

  $x->title('Star City');
  $x->description('A description of sorts.');
  $x->pubDate('Tue, 03 Jun 2003 09:39:21 GMT');


  print $x;


B<XML::API::RSS> is a perl object class for creating RSS documents.
This module is not normally used directly, but automatically required
by L<XML::API> as needed. See that class for documentation instead.

=head1 SEE ALSO


=head1 AUTHOR

Mark Lawrence E<lt><gt>


Copyright (C) 2004-2008,2015,2016 Mark Lawrence <>

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.