WWW::Search::AP.3pm

Langue: en

Autres versions - même langue

Version: 2009-05-02 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

WWW::Search::AP - backend for searching AP News at www.washingtonpost.com

SYNOPSIS

   use WWW::Search;
   my $oSearch = new WWW::Search('AP');
   my $sQuery = WWW::Search::escape_query("japan prime minister");
   $oSearch->native_query($sQuery);
   while (my $oResult = $oSearch->next_result())
     { print $oResult->url, "\n"; }
 
 

DESCRIPTION

This class is a specialization of WWW::Search. It handles making and interpreting searches on AP news stories, courtesy of The Washington Post http://www.washingtonpost.com.

This class exports no public interface; all interaction should be done through WWW::Search objects.

SEE ALSO

To make new back-ends, see WWW::Search.

NOTES

This backend only searches news stories from the last 60 days.

BUGS

Please tell the author if you find any!

AUTHOR

Martin Thurn <mthurn@cpan.org>

LICENSE

Copyright (C) 1998-2009 Martin 'Kingpin' Thurn

This software is released under the same license as Perl itself.