Reference

WWW::Search::Yahoo::Japan::News(3pm)

WWW::Search::Yahoo::Japan::News - class for searching News on Yahoo Japan (in Japanese)

  use Jcode;
  use WWW::Search;
  my $oSearch = new WWW::Search('Yahoo::Japan::News');
  my $sQuery = WWW::Search::escape_query(Jcode->new("ÎÁÍý¤ÎÅ´¿Í")->euc);
  $oSearch->native_query($sQuery);
  while (my $oResult = $oSearch->next_result())
    print $oResult->url, "\n";

This class is a Yahoo Japan News specialization of WWW::Search. It handles making and interpreting searches of Yahoo News in Japanese http://headlines.yahoo.co.jp. This class exports no public interface; all interaction should be done through WWW::Search objects. Query string must be in EUC encoding, and then escaped with WWW::Search::escape_query(). If you have multiple query terms, put an ASCII space character in between all of them. Yahoo Japan does an AND of all query terms. There is no way to change this. In the results, description will be in EUC encoding (I think). To make new back-ends, see WWW::Search. Please tell the maintainer if you find any! This module adheres to the "WWW::Search" test suite mechanism. Martin Thurn ([email protected]). THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. If it''s not listed here, then it wasn''t a meaningful nor released revision.
2.02, 2001-09-13 bugfix, apparently 2.01 could not load at all!?!
2.01, 2001-09-07 First release.

History