home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_604a74f0bb9d7e0b67505748f9bf1ff5
< prev
next >
Wrap
Text File
|
2000-03-23
|
6KB
|
154 lines
<HTML>
<HEAD>
<TITLE>WWW::Search::Lycos - class for searching Lycos</TITLE>
<LINK REL="stylesheet" HREF="../../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> WWW::Search::Lycos - class for searching Lycos</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#notes">NOTES</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
<LI><A HREF="#bugs">BUGS</A></LI>
<LI><A HREF="#testing">TESTING</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
<LI><A HREF="#legalese">LEGALESE</A></LI>
<LI><A HREF="#version history">VERSION HISTORY</A></LI>
<UL>
<LI><A HREF="#2.09, 19991226">2.09, 1999-12-26</A></LI>
<LI><A HREF="#2.08, 19991222">2.08, 1999-12-22</A></LI>
<LI><A HREF="#2.07, 19991210">2.07, 1999-12-10</A></LI>
<LI><A HREF="#2.05, 19991203">2.05, 1999-12-03</A></LI>
<LI><A HREF="#2.04, 19991022">2.04, 1999-10-22</A></LI>
<LI><A HREF="#2.03, 19991005">2.03, 1999-10-05</A></LI>
<LI><A HREF="#2.02, 19990930">2.02, 1999-09-30</A></LI>
<LI><A HREF="#2.01, 19990713">2.01, 1999-07-13</A></LI>
<LI><A HREF="#1.04, 19990430">1.04, 1999-04-30</A></LI>
<LI><A HREF="#1.02, 19981210">1.02, 1998-12-10</A></LI>
</UL>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>WWW::Search::Lycos - class for searching Lycos</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
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";</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This class is a Lycos specialization of <A HREF="../../../../site/lib/WWW/Search.html">the WWW::Search manpage</A>. It handles
making and interpreting Lycos-site searches <EM><A HREF="http://www.Lycos.com">http://www.Lycos.com</A></EM>.</P>
<P>This class exports no public interface; all interaction should
be done through <A HREF="../../../../site/lib/WWW/Search.html">the WWW::Search manpage</A> objects.</P>
<P>
<HR>
<H1><A NAME="notes">NOTES</A></H1>
<P>www.lycos.com is sometimes slow to respond; but I have not had a
problem with the default timeout.</P>
<P>www.lycos.com does not give the score, date, nor size of the pages at
the resulting URLs; therefore change_date(), score(), and <CODE>size()</CODE> will
never have a value.</P>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P>To make new back-ends, see <A HREF="../../../../site/lib/WWW/Search.html">the WWW::Search manpage</A>.</P>
<P>
<HR>
<H1><A NAME="bugs">BUGS</A></H1>
<P>Please tell the author if you find any!</P>
<P>
<HR>
<H1><A NAME="testing">TESTING</A></H1>
<P>This module adheres to the WWW::Search test mechanism.
See $TEST_CASES below.</P>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>As of 1998-12-07, <CODE>WWW::Search::Lycos</CODE> is maintained by Martin Thurn
(<A HREF="mailto:MartinThurn@iname.com">MartinThurn@iname.com</A>)</P>
<P><CODE>WWW::Search::Lycos</CODE> was originally written by Martin Thurn,
based on <CODE>WWW::Search::Yahoo</CODE> version 1.12 of 1998-10-22.</P>
<P>
<HR>
<H1><A NAME="legalese">LEGALESE</A></H1>
<P>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.</P>
<P>
<HR>
<H1><A NAME="version history">VERSION HISTORY</A></H1>
<P>If it is not listed here, then it was not a meaningful nor released revision.</P>
<P>
<H2><A NAME="2.09, 19991226">2.09, 1999-12-26</A></H2>
<P>output format fixes, and query string changes for searching Lycos.com (<A HREF="mailto:dbradford@bdctechnologies.com">dbradford@bdctechnologies.com</A>)</P>
<P>
<H2><A NAME="2.08, 19991222">2.08, 1999-12-22</A></H2>
<P>point to new path on lycos.com (thanks to David Bradford <A HREF="mailto:dbradford@bdctechnologies.com)">dbradford@bdctechnologies.com)</A></P>
<P>
<H2><A NAME="2.07, 19991210">2.07, 1999-12-10</A></H2>
<P>more output format fixes, and missing 'next' link for Sites</P>
<P>
<H2><A NAME="2.05, 19991203">2.05, 1999-12-03</A></H2>
<P>handle new url and new output format for Lycos::Sites.pm</P>
<P>
<H2><A NAME="2.04, 19991022">2.04, 1999-10-22</A></H2>
<P>use strip_tags();
extract real URL from www.lycos.com's redirection URL</P>
<P>
<H2><A NAME="2.03, 19991005">2.03, 1999-10-05</A></H2>
<P>now uses <CODE>hash_to_cgi_string()</CODE></P>
<P>
<H2><A NAME="2.02, 19990930">2.02, 1999-09-30</A></H2>
<P>Now able to get Web Sites results via child module Sites.pm</P>
<P>
<H2><A NAME="2.01, 19990713">2.01, 1999-07-13</A></H2>
<P>
<H2><A NAME="1.04, 19990430">1.04, 1999-04-30</A></H2>
<P>Now uses lycos.com's advanced query format.</P>
<P>
<H2><A NAME="1.02, 19981210">1.02, 1998-12-10</A></H2>
<P>First public release after being adopted by Martin Thurn.</P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> WWW::Search::Lycos - class for searching Lycos</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>