WWW::Search::GoTo - class for searching GoTo.com


NAME

WWW::Search::GoTo - class for searching GoTo.com


SUPPORTED PLATFORMS

This module is not included with the standard ActivePerl distribution. It is available as a separate download using PPM.

SYNOPSIS

    require WWW::Search;
    $search = new WWW::Search('GoTo');


DESCRIPTION

This class is an GoTo specialization of WWW::Search. It handles making and interpreting GoTo searches www-GoTo.com.

Nothing special about GoTo: no search options. It is much like Google in that it attempts to returm relavent search results using simple queries.


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


NOTES

Uses result field $result->source which is helpful with this engine because the the URL is owner encoded. $result->source will display a plain base URL address and should be called after $result->description


SEE ALSO

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


HOW DOES IT WORK?

native_setup_search is called before we do anything. It initializes our private variables (which all begin with underscores) and sets up a URL to the first results page in {_next_url}.

native_retrieve_some is called (from WWW::Search::retrieve_some) whenever more hits are needed. It calls the LWP library to fetch the page specified by {_next_url}. It parses this page, appending any search hits it finds to {cache}. If it finds a ``next'' button in the text, it sets {_next_url} to point to the page for the next set of results, otherwise it sets it to undef to indicate we're done.


AUTHOR

WWW::Search::GoTo is written by Jim Smyser Author e-mail <jsmyser@bigfoot.com>


COPYRIGHT

Copyright (c) 1996-1999 University of Southern California. All rights reserved.

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.

 WWW::Search::GoTo - class for searching GoTo.com