The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Search::Lycos - class for searching Lycos

SYNOPSIS

  use WWW::Search;
  my $oSearch = new WWW::Search('Lycos');
  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 Lycos specialization of WWW::Search. It handles making and interpreting Lycos-site searches http://www.Lycos.com.

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

NOTES

WWW::Search::Lycos returns results only from www.lycos.com's "Web Pages"; results from "Categories", "Web Sites", and "News & Media" are ignored. If you want to get results from www.lycos.com's categorized "Web Sites", use Lycos::Sites instead.

The default search mode is "any" of the query terms. If you want to search for "ALL" of the query terms, add {'matchmode' => 'and'} as the second argument to native_query(). More advanced query modes can be added upon request; please contact the author.

www.lycos.com is pretty slow to respond; but I have not had a problem with the default timeout.

www.lycos.com does not give the score, date, nor size of the pages at the resulting URLs; therefore change_date(), score(), and size() will never have a value.

SEE ALSO

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

BUGS

Please tell the author if you find any!

TESTING

Testing is done only on the children modules Lycos::Sites and Lycos::Pages.

AUTHOR

As of 1998-12-07, WWW::Search::Lycos is maintained by Martin Thurn (MartinThurn@iname.com).

WWW::Search::Lycos was originally written by Martin Thurn, based on WWW::Search::Yahoo version 1.12 of 1998-10-22.

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 is not listed here, then it was not a meaningful nor released revision.

2.03, 1999-10-05

now uses hash_to_cgi_string()

2.02, 1999-09-30

Now able to get Web Sites results via child module Sites.pm

2.01, 1999-07-13

1.04, 1999-04-30

Now uses lycos.com's advanced query format.

1.02, 1998-12-10

First public release after being adopted by Martin Thurn.