| Next: Yawns::Scratchpad | Previous: Yawns::Preferences | [Table of Contents] |
Yawns::RSS - A module for outputing the RSS feeds we serve
#!/usr/bin/perl -w
use Yawns::RSS;
use strict;
my $feeds = Yawns::RSS->new();
$feeds->output();
#
# Setup different output files.
#
my $feeds = Yawns::RSS->new( headlines => "headlines.rdf",
articles => "/tmp/articles.rdf",
atom => "/blah/atom.xml" );
$feeds->output();
This module contains code for outputting the various RSS feeds we serve.
Create a new instance of this object.
Create the various output feeds we write:
./articles.rdf
./headlines.rdf
./atom.xml
Generate the headlines RDF feed into the file ./headlines.rdf This is an internal function
Generate the articles RDF feed into the file ./articles.rdf This is an internal function
Generate the articles XML feed into the file ./atom.xml This is an internal function