Query: www::search::washpost
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WWW::Search::WashPost(3pm) User Contributed Perl Documentation WWW::Search::WashPost(3pm)NAMEWWW::Search::WashPost - WWW::Search backend for searching www.washingtonpost.comSYNOPSISuse WWW::Search; my $oSearch = new WWW::Search('WashPost'); my $sQuery = WWW::Search::escape_query("japan prime minister"); $oSearch->native_query($sQuery); while (my $oResult = $oSearch->next_result()) { print $oResult->url, " "; }DESCRIPTIONThis class is a specialization of WWW::Search. It handles making and interpreting searches on news at The Washington Post http://www.washingtonpost.com. This class exports no public interface; all interaction should be done through WWW::Search objects.NOTESIn the resulting WWW::SearchResult objects, the following elements will be set (in addition to the usual title, description, etc.): source Something like "Post" or a certain "Edition". location The page number of the print edition, e.g. "E05". category The type of item found, either "Article" or "Photo". seller The author or photographer.SEE ALSOTo make new backends, see WWW::Search.CAVEATSThis backend (and all its subclasses) only searches news stories from the last 14 days. (This is a restriction on the Washington Post website that we can not avoid.)BUGSPlease tell the author if you find any!AUTHORMartin Thurn <mthurn@cpan.org>LICENSECopyright (C) 1998-2009 Martin 'Kingpin' Thurn This software is released under the same license as Perl itself. perl v5.12.4 2011-11-02 WWW::Search::WashPost(3pm)
Similar Topics in the Unix Linux Community |
---|
No. post not incrementing |
Search from file and display |
Please Help to Check script Search and Replace |
Search Replace and Update a file |
Post An Action/Sport Photo of Yourself Here! |