WWW::Search::WashPost(3pm)

WWW::Search::WashPost3pm

Www::search backend for searching www.washingtonpost.com

Usage

  use 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, "\n"; }

Overview

This 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.

Notes

In 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.

Caveats

This 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.)

Releases

7 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Bugs

Please tell the author if you find any!

Author

Martin Thurn <[email protected]>

License

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

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

From libwww-search-perl 2.51.60-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.