home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _51db487e2c8bf7b37524a2216bb9c3f5 < prev    next >
Text File  |  2000-03-23  |  4KB  |  111 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>WWW::Search::Metapedia - class for searching online Encyclopedias</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> WWW::Search::Metapedia - class for searching online Encyclopedias</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#see also">SEE ALSO</A></LI>
  26.     <LI><A HREF="#how does it work">HOW DOES IT WORK?</A></LI>
  27.     <LI><A HREF="#author">AUTHOR</A></LI>
  28.     <LI><A HREF="#copyright">COPYRIGHT</A></LI>
  29. </UL>
  30. <!-- INDEX END -->
  31.  
  32. <HR>
  33. <P>
  34. <H1><A NAME="name">NAME</A></H1>
  35. <P>WWW::Search::Metapedia - class for searching online Encyclopedias</P>
  36. <P>
  37. <HR>
  38. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  39. <UL>
  40. <LI>Linux</LI>
  41. <LI>Solaris</LI>
  42. <LI>Windows</LI>
  43. </UL>
  44. <HR>
  45. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  46. <PRE>
  47.     require WWW::Search;
  48.     $search = new WWW::Search('Metapedia');</PRE>
  49. <P>
  50. <HR>
  51. <H1><A NAME="description">DESCRIPTION</A></H1>
  52. <P><EM><A HREF="http://www.savvysearch.com">http://www.savvysearch.com</A></EM>.</P>
  53. <P>Silly class I made to sponge off a Encyclopedia meta search engine. 
  54. Searches multi online Encyclopedias.</P>
  55. <P>Covers:</P>
  56. <P>Encylopedia Britannica - paid subscription service
  57. Encarta  
  58. Knowledge Adventure 
  59. Infoplease</P>
  60. <P>This class exports no public interface; all interaction should
  61. be done through WWW::Search objects.</P>
  62. <P>
  63. <HR>
  64. <H1><A NAME="see also">SEE ALSO</A></H1>
  65. <P>To make new back-ends, see <A HREF="../../../../site/lib/WWW/Search.html">the WWW::Search manpage</A>.</P>
  66. <P>
  67. <HR>
  68. <H1><A NAME="how does it work">HOW DOES IT WORK?</A></H1>
  69. <P><CODE>native_setup_search</CODE> is called before we do anything.
  70. It initializes our private variables (which all begin with underscores)
  71. and sets up a URL to the first results page in <CODE>{_next_url}</CODE>.</P>
  72. <P><CODE>native_retrieve_some</CODE> is called (from <CODE>WWW::Search::retrieve_some</CODE>)
  73. whenever more hits are needed.  It calls the LWP library
  74. to fetch the page specified by <CODE>{_next_url}</CODE>.
  75. It parses this page, appending any search hits it finds to 
  76. <CODE>{cache}</CODE>.  If it finds a ``next'' button in the text,
  77. it sets <CODE>{_next_url}</CODE> to point to the page for the next
  78. set of results, otherwise it sets it to undef to indicate we're done.</P>
  79. <P>
  80. <HR>
  81. <H1><A NAME="author">AUTHOR</A></H1>
  82. <P>Jim Smyser <<A HREF="mailto:jsmyser@bigfoot.com">jsmyser@bigfoot.com</A>></P>
  83. <P>
  84. <HR>
  85. <H1><A NAME="copyright">COPYRIGHT</A></H1>
  86. <P>Copyright (c) 1996-1998 University of Southern California.
  87. All rights reserved.                                            
  88. </P>
  89. <PRE>
  90.  
  91. Redistribution and use in source and binary forms are permitted
  92. provided that the above copyright notice and this paragraph are
  93. duplicated in all such forms and that any documentation, advertising
  94. materials, and other materials related to such distribution and use
  95. acknowledge that the software was developed by the University of
  96. Southern California, Information Sciences Institute.  The name of the
  97. University may not be used to endorse or promote products derived from
  98. this software without specific prior written permission.</PRE>
  99. <P>THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  100. WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  101. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</P>
  102. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  103. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  104. <STRONG><P CLASS=block> WWW::Search::Metapedia - class for searching online Encyclopedias</P></STRONG>
  105. </TD></TR>
  106. </TABLE>
  107.  
  108. </BODY>
  109.  
  110. </HTML>
  111.