-
-
15 Feb 2011 05:55:47 UTC
- Distribution: POE-Component-Client-Feed
- Module version: 0.901
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (584 / 4 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (19.95KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
POE::Component::Client::Feed - Event based feed client
VERSION
version 0.901
SYNOPSIS
package MyServer; use MooseX::POE; use POE::Component::Client::Feed; has feed_client => ( is => 'ro', default => sub { POE::Component::Client::Feed->new(); } ); event feed_received => sub { my ( $self, @args ) = @_[ OBJECT, ARG0..$#_ ]; my $http_request = $args[0]; my $xml_feed = $args[1]; my $tag = $args[2]; }; sub START { my ( $self ) = @_; $self->feed_client->yield('request','http://news.perlfoundation.org/atom.xml','feed_received','tag'); }
DESCRIPTION
This POE Component gives you like POE::Component::Client::HTTP an event based way of fetching from a feed. It is not made for making consume a feed and only get events on new headlines, for this you can use POE::Component::FeedAggregator which is based on this module, or POE::Component::RSSAggregator.
SEE ALSO
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Raudssus Social Software.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install POE::Component::Client::Feed, copy and paste the appropriate command in to your terminal.
cpanm POE::Component::Client::Feed
perl -MCPAN -e shell install POE::Component::Client::Feed
For more information on module installation, please visit the detailed CPAN module installation guide.