in reply to How can I write both RSS and Atom
my %feeds; for my $type ( qw( RSS Atom ) ) { my $feed = XML::Feed->new( $type ); $feed->title( $title ); $feed->link( $site_prefix ); $feed->description( $description ); $feeds{ $type } = $feed; }
Update: Fixed case typo (ATOM to Atom).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I write both RSS and Atom
by fayland (Acolyte) on Dec 12, 2005 at 15:30 UTC | |
by marto (Cardinal) on Dec 12, 2005 at 16:11 UTC | |
by fayland (Acolyte) on Dec 13, 2005 at 03:07 UTC |