WWW::Search::AltaVista::AdvancedWeb (3)
Leading comments
Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) Standard preamble: ========================================================================
NAME
WWW::Search::AltaVista::AdvancedWeb - class for advanced Alta Vista web searchingSYNOPSIS
use WWW::Search; my $search = new WWW::Search('AltaVista::AdvancedWeb'); $search->native_query(WWW::Search::escape_query('(bmw AND mercedes) AND NOT (used OR Ferrari)')); $search->maximum_to_retrieve('100'); while (my $result = $search->next_result()) { print $result->url, "\n"; }
DESCRIPTION
Class hack for Advance AltaVista web search mode originally written by John Heidemann www.altavista.com.This hack now allows for AltaVista AdvanceWeb search results to be sorted and relevant results returned first. Initially, this class had skiped the 'r' option which is used by AltaVista to sort search results for relevancy. Sending advance query using the 'q' option resulted in random returned search results which made it impossible to view best scored results first.
This class exports no public interface; all interaction should be done through WWW::Search objects.
HELP
UseUse
Use
Use
Try this example:
cars
You don't have to capitalize the ``operators''
One other wrinkle that's very handy: you can group steps together with parentheses to tell the system what order you want it to perform operations in.
(bmw
Keep in mind that grouping should be used as much as possible because if you attempt to enter a long query using
AUTHOR
"WWW::Search" hack by Jim Smyser, <jsmyser@bigfoot.com>.COPYRIGHT
Copyright (c) 1996 University of Southern California. All rights reserved.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.
VERSION HISTORY
2.07 - unescape URLs, and bugfix for undefined $hit2.06 - do not use
2.02 - Added
2.01 - Additional query modifiers added for even better results.
2.0 - Minor change to set lowercase Boolean operators to uppercase.
1.9 - First hack version release.