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

NAME

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

SYNOPSIS

  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";

DESCRIPTION

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.

NOTES

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

SEE ALSO

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

BUGS

Please tell the maintainer if you find any!

TESTING

This module adheres to the CWWWW::Search test suite mechanism.

AUTHOR

Martin Thurn (mthurn@cpan.org).

LEGALESE

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.

VERSION HISTORY

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.