AnyEvent-Feed
view release on metacpan or search on metacpan
This will initiate a HTTP GET on the URL passed to "new" and call
$cb when done.
$feed_reader is the feed reader object itself. $new_entries is an
array reference containing the new entries. A new entry in that
array is another array containing a calculated hash over the
contents of the new entry, and the XML::Feed::Entry object of that
entry. $feed_obj is the XML::Feed feed object used to parse the
fetched feed and contains all entries (and not just the 'new' ones).
What a 'new' entry is, is decided by a map of hashes as described in
the "entry_ages" method's documentation above.
AUTHOR
Robin Redeker, "<elmex@ta-sa.org>"
SEE ALSO
XML::Feed
AnyEvent::HTTP
lib/AnyEvent/Feed.pm view on Meta::CPAN
This will initiate a HTTP GET on the URL passed to C<new> and call C<$cb> when
done.
C<$feed_reader> is the feed reader object itself. C<$new_entries> is an
array reference containing the new entries. A new entry in that array is
another array containing a calculated hash over the contents of the new entry,
and the L<XML::Feed::Entry> object of that entry. C<$feed_obj> is the
L<XML::Feed> feed object used to parse the fetched feed and contains all
entries (and not just the 'new' ones).
What a 'new' entry is, is decided by a map of hashes as described in the
C<entry_ages> method's documentation above.
=cut
sub _get_headers {
my ($self, %hdrs) = @_;
my %hdrs = %{$self->{headers} || {}};
if (defined $self->{last_mod}) {
( run in 1.638 second using v1.01-cache-2.11-cpan-de7293f3b23 )