#!/usr/local/bin/perl
# goolarge.cgi
# A take-off on “I’m Feeling Lucky,” redirects the browser to the largest
# (size in K) document found in the first n results. n is set by number
# of loops x 10 results per.
# goolarge.cgi is called as a CGI with form input
# Your Google API developer’s key.
my $google_key=’insert key here’;
# Location of the GoogleSearch WSDL file.
my $google_wdsl = “./GoogleSearch.wsdl”;
# Number of times to loop, retrieving 10 results at a time.
my $loops = 10;
use strict;
use SOAP::Lite;
use CGI qw/:standard/;
# Display the query form.
unless (param(‘query’)) {
print
header( D
starml%2ml(“
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
Albeo theme by Design Disease
Shouts,bugs,hugs from readers ;)