Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

provides a CGI-like interface for making rss feeds

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
use strict;
use CGI::RSS;

my $rss = new CGI::RSS;

print $rss->header;
print $rss->begin_rss(
    title => "My Feed!",
    link  => "http://localhost/directory",
    desc  => "My feed is cool!");

while( my $h = $sth->fetchrow_hashref ) {
    print $rss->item(
        $rss->title       ( $h->{title} ),
        $rss->link        ( $h->{link}  ),
        $rss->description ( $h->{desc}  ),
        $rss->date        ( $h->{date}  ),
    );
}

print $rss->finish_rss;
Something went wrong with that request. Please try again.