.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "WWW::Search::AltaVista::NL 3pm" .TH WWW::Search::AltaVista::NL 3pm "2018-11-25" "perl v5.28.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" WWW::Search::AltaVista::NL \- class for searching the dutch version of Alta Vista .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 2 \& require WWW::Search; \& $search = new WWW::Search(\*(AqAltaVista::NL\*(Aq); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This class is an modified version of the AltaVista specialization of WWW::Search. It handles making and interpreting Dutch AltaVista searches \&\fIhttp://nl.altavista.com\fR. .PP This class exports no public interface; all interaction should be done through WWW::Search objects. .SH "OPTIONS" .IX Header "OPTIONS" The default is for simple web queries. .IP "search_url=URL" 8 .IX Item "search_url=URL" Specifies who to query with the AltaVista protocol. The default is at \&\f(CW\*(C`http://nl.altavista.com/cgi\-bin/query\*(C'\fR; .IP "search_debug, search_parse_debug, search_ref Specified at WWW::Search." 8 .IX Item "search_debug, search_parse_debug, search_ref Specified at WWW::Search." .PD 0 .IP "pg=aq" 8 .IX Item "pg=aq" .PD Do advanced queries. (It defaults to simple queries.) .SH "PUBLIC METHODS" .IX Header "PUBLIC METHODS" There are none defined here; see WWW::Search. .SH "PRIVATE METHODS" .IX Header "PRIVATE METHODS" .SS "native_setup_search" .IX Subsection "native_setup_search" This private method does the heavy lifting after you call \fBnative_query()\fR. .SS "native_retrieve_some" .IX Subsection "native_retrieve_some" This private method does the heavy lifting of fetching and parsing web pages. .SH "SEE ALSO" .IX Header "SEE ALSO" To make new back-ends, see WWW::Search, .SH "HOW DOES IT WORK?" .IX Header "HOW DOES IT WORK?" \&\f(CW\*(C`native_setup_search\*(C'\fR is called before we do anything. It initializes our private variables (which all begin with underscores) and sets up a \s-1URL\s0 to the first results page in \f(CW\*(C`{_next_url}\*(C'\fR. .PP \&\f(CW\*(C`native_retrieve_some\*(C'\fR is called (from \f(CW\*(C`WWW::Search::retrieve_some\*(C'\fR) whenever more hits are needed. It calls the \s-1LWP\s0 library to fetch the page specified by \f(CW\*(C`{_next_url}\*(C'\fR. It parses this page, appending any search hits it finds to \&\f(CW\*(C`{cache}\*(C'\fR. If it finds a ``next'' button in the text, it sets \f(CW\*(C`{_next_url}\*(C'\fR to point to the page for the next set of results, otherwise it sets it to undef to indicate we're done. .SH "AUTHOR and CURRENT VERSION" .IX Header "AUTHOR and CURRENT VERSION" \&\f(CW\*(C`WWW::Search::AltaVista::NL\*(C'\fR is written and maintained by Erik Smit, . .PP The best place to obtain \f(CW\*(C`WWW::Search::AltaVista::NL\*(C'\fR is from Martin Thurn's WWW::Search releases on \s-1CPAN.\s0 Because AltaVista sometimes changes its format in between his releases, sometimes more up-to-date versions can be found at \&\fIhttp://www.zoiah.nl/programming/AltaVistaNL/index.html\fR. .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (c) 1996\-1998 University of Southern California. All rights reserved. .PP Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of Southern California, Information Sciences Institute. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. .PP \&\s-1THIS SOFTWARE IS PROVIDED \*(L"AS IS\*(R" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\s0