NAME
WWW::Search::Excite - backend for searching www.excite.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('Excite');
my $sQuery = WWW::Search::escape_query("+sushi restaurant +Columbus Ohio");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
{ print $oResult->url, "\n"; }
DESCRIPTION
This class is a Excite specialization of WWW::Search. It handles making and interpreting Excite searches http://www.excite.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
SEE ALSO
To make new back-ends, see WWW::Search.
CAVEATS
Only returns results from Excite's "Web Results". Ignores all other sections of Excite's query results.
BUGS
Please tell the author if you find any!
TESTING
This module adheres to the WWW::Search
test suite mechanism.
Test cases (accurate as of 1998-11-06):
$file = 'test/Excite/zero_result';
$query = 'Bogus' . 'NoSuchWord';
test($mode, $TEST_EXACTLY);
$file = 'test/Excite/one_page_result';
$query = '+LS'.'AM +replic'.'ation';
test($mode, $TEST_RANGE, 2, 75);
$file = 'test/Excite/multi_page_result';
$query = '+Jabb'.'a +bou'.'nty +hu'.'nter +Gr'.'eedo'
test($mode, $TEST_GREATER_THAN, 100);
AUTHOR
As of 1998-03-23, WWW::Search::Excite
is maintained by Martin Thurn (MartinThurn@iname.com).
WWW::Search::Excite
was originally written by Martin Thurn based on WWW::Search::HotBot
.
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
1.08, 1998-11-06
www.excite.com changed their output format slightly (thank you Jim (jsmyser@bigfoot.com) for pointing it out!)
1.7, 1998-10-09
use new split_lines function
1.5
\n changed to \012 for MacPerl compatibility
1.4
Modified for new Excite output format.
1.2
First publicly-released version.