WWW::Search::Excite - backend for searching www.excite.com
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"; }
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 the WWW::Search manpage objects. To make new back-ends, see the WWW::Search manpage. Only returns results from Excite's "Web Results". Ignores all other sections of Excite's query results. Please tell the author if you find any! As of 1998-03-23, "WWW::Search::Excite" is maintained by Martin Thurn ([email protected]). "WWW::Search::Excite" was originally written by Martin Thurn based on "WWW::Search::HotBot". 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.
2.19, 2001-08-29 Handle yet another new output format
2.17, 2001-05-17 Handle new output format
2.16, 2000-11-02 No change in functionality, but parser was totally rewritten using HTML::TreeBuilder
2.14, 2000- BUGFIX for missing result-count sometimes;
2.13, 2000-10-10 BUGFIX for missing result-count sometimes; BUGFIX for missing END of results; BUGFIX for mis-parsing URLs
2.12, 2000-09-18 BUGFIX for still missing the result-count; BUGFIX for missing all results sometimes
2.11, 2000-09-05 BUGFIX for still missing some header formats
2.07, 2000-03-29 BUGFIX for sometimes missing header (and getting NO results)
2.06, 2000-03-02 BUGFIX for bungled next_url
2.05, 2000-02-08 testing now uses WWW::Search::Test module; www.excite.com only allows (up to) 50 per page (and no odd numbers)
2.04, 2000-01-28 www.excite.com changed their output format slightly
2.03, 1999-10-20 www.excite.com changed their output format slightly; use strip_tags() on title and description results
2.02, 1999-10-05 now uses hash_to_cgi_string()
1.12, 1999-06-29 updated test cases
1.10, 1999-06-11 fixed a BUG where returned URLs were garbled (maybe this was because www.excite.com changed their links)
1.08, 1998-11-06 www.excite.com changed their output format slightly (thank you Jim ([email protected]) 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.