NAME
Net::FeedBurner - The great new Net::FeedBurner!
SYNOPSIS
use Net::FeedBurner;
my $feedburner = Net::FeedBurner->new(
'user' => 'username',
'password' => 'password',
);
$feeds = $fb->find_feeds();
my $feed_id = (keys %{$feeds})[0];
$feedinfo = $fb->get_feed($feed_id);
# ...
my $feed = <<'EOF'
<feed uri="socklabs-blog" title="Nick's Blog">
<source url="http://blog.socklabs.com/atom.xml"/>
<services>
<service class="ItemStats" />
<service class="SmartFeed" />
</services>
</feed>
EOF
if (my $newfeed = $feedburner->add_feed($feed)) {
print Data::Dumper::Dumper( $fb->get_feed($newfeed->{'id'}) );
}
FUNCTIONS
Please note that the API documentation at FeedBurner is excellent. Please check the developer documentation there before raising questions here. This module is NOT meant to be a definative guide to the FeedBurner API, just an abstraction layer to make using the FeedBurner API easier for perl developers.
new
Creates the Net::FeedBurner object.
init
Does some internal init actions.
urlbuilder
Create a proper url depending on request name and type.
request
Make a request and perform some basic error checking and parsing.
find_feeds
Use the API to return a list of feeds for a particular user.
get_feed
Use the API to return the details of a particular feed.
add_feed
Use the API to allow the user to add a new feed to their account.
delete_feed
Use the API to allow the user to delete a feed in their account.
modify_feed
Use the API to allow the user to modify a feed in their account.
resync_feed
Use the API to allow the user to resync a feed in their account. This will involves clearing the cache, resetting any podcast media enclosures, and informing the caller of any feed formatting problems.
AUTHOR
Nick Gerakines, <nick at socklabs.com>
BUGS
Please report any bugs or feature requests to bug-net-feedburner at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-FeedBurner. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::FeedBurner
You can also look for information at:
FeedBurner Developer Area
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
Thanks to the developers over at FeedBurner who wrote really awesome documentation to the FeedBurner API.
http://www.feedburner.com/fb/a/developers
http://www.feedburner.com/fb/a/api/management/docs
COPYRIGHT & LICENSE
Copyright 2006 Nick Gerakines, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.