NAME

WWW::Search::Yahoo::China - class for searching Yahoo! China

SYNOPSIS

use WWW::Search;
my $oSearch = new WWW::Search('Yahoo::China');
my $sQuery = WWW::Search::escape_query("$BK=So4+Gi(B");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
  print $oResult->url, "\n";

DESCRIPTION

This class is a Yahoo! China specialization of WWW::Search. It handles making and interpreting searches on Yahoo! China http://cn.yahoo.com.

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

NOTES

I have no idea what character encoding(s) are accepted/expected by Yahoo's website. To create/test this backend I just cut-and-pasted Chinese characters from cn.yahoo.com.

It seems that if your query is in UTF-8, sending option {ei => 'UTF-8'} makes it do the right thing.

SEE ALSO

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

BUGS

Please tell the maintainer if you find any!

AUTHOR

WWW::Search::Yahoo is maintained by 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.