XML::Atom::Feed - Atom feed
use XML::Atom::Feed; use XML::Atom::Entry; my $feed = XML::Atom::Feed->new; $feed->title('My Weblog'); my $entry = XML::Atom::Entry->new; $entry->title('First Post'); $entry->content('Post Body'); $feed->add_entry($entry); my @entries = $feed->entries; my $xml = $feed->as_xml;
Please see the XML::Atom manpage for author, copyright, and license information.
To install XML::Atom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Atom
CPAN shell
perl -MCPAN -e shell install XML::Atom
For more information on module installation, please visit the detailed CPAN module installation guide.