home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_ac8d91e7949e3ec1f2273f4ad05a52f6
< prev
next >
Wrap
Text File
|
2000-03-23
|
4KB
|
126 lines
<HTML>
<HEAD>
<TITLE>WWW::Search::Excite::News - class for searching ExciteNews</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::Excite::News - class for searching ExciteNews</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="#see also">SEE ALSO</A></LI>
<LI><A HREF="#how does it work">HOW DOES IT WORK?</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
<LI><A HREF="#testing">TESTING</A></LI>
<LI><A HREF="#version history">VERSION HISTORY</A></LI>
<UL>
<LI><A HREF="#2.02, 1999105">2.02, 1999-10-5</A></LI>
<LI><A HREF="#2.01, 19990713">2.01, 1999-07-13</A></LI>
</UL>
<LI><A HREF="#copyright">COPYRIGHT</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>WWW::Search::Excite::News - class for searching ExciteNews</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>
<P>require WWW::Search;
$search = new WWW::Search('Excite::News');</P>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>Class for searching Excite News <EM><A HREF="http://www.excite.com">http://www.excite.com</A></EM>.
Excite has one of the best news bot on the web.</P>
<P>If you use the raw method for this backend you will need to include
a ``<p>'' at end of your print statement, example:
print $result->raw(), ``<p>\n'';</P>
<P>This class exports no public interface; all interaction should
be done through WWW::Search objects.</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="how does it work">HOW DOES IT WORK?</A></H1>
<P><CODE>native_setup_search</CODE> 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 <CODE>{_next_url}</CODE>.
</P>
<PRE>
C<native_retrieve_some> is called (from C<WWW::Search::retrieve_some>)
whenever more hits are needed. It calls the LWP library
to fetch the page specified by C<{_next_url}>.
It parses this page, appending any search hits it finds to
C<{cache}>. If it finds a ``next'' button in the text,
it sets C<{_next_url}> to point to the page for the next
set of results, otherwise it sets it to undef to indicate we are done.</PRE>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>Maintained by Jim Smyser <<A HREF="mailto:jsmyser@bigfoot.com">jsmyser@bigfoot.com</A>></P>
<P>
<HR>
<H1><A NAME="testing">TESTING</A></H1>
<P>This module adheres to the <CODE>WWW::Search</CODE> test suite mechanism.
See $TEST_CASES below.</P>
<P>
<HR>
<H1><A NAME="version history">VERSION HISTORY</A></H1>
<P>
<H2><A NAME="2.02, 1999105">2.02, 1999-10-5</A></H2>
<P>Misc. formatting changes</P>
<P>
<H2><A NAME="2.01, 19990713">2.01, 1999-07-13</A></H2>
<P>New test mechanism</P>
<P>
<HR>
<H1><A NAME="copyright">COPYRIGHT</A></H1>
<P>The original parts from John Heidemann are subject to
following copyright notice:</P>
<P>Copyright (c) 1996-1998 University of Southern California.
All rights reserved.
</P>
<PRE>
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.</PRE>
<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::Excite::News - class for searching ExciteNews</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>