Errata

Google Hacks

Errata for Google Hacks

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xi
1st paragraph

Last sentence, first paragraph.

Is
Who know that ...

S/B
Who knew that ...

Anonymous   
Printed
Page cover

Tara Calishain's name IS NOW spelled correctly on the spine of the
book.

Anonymous    Mar 01, 2004
Printed
Page xii
Nine lines from bottom

innovate rather then

NOW READS:
innovate rather than

p. xviii line 4:
"uncovering documented features"

NOW READS:
"uncovering undocumented features"

Anonymous    Mar 01, 2004
Printed
Page 1
5th paragraph (after "Google's index..."

"its all flowing too fast"
should be
"it's all flowing too fast."

Anonymous   
Printed
Page 15
Second sentence

Sometimes this is a description or a sentence or so.

NOW READS:
"Sometimes this is a description of the site or a selected sentence or two."

Anonymous    Mar 01, 2004
Printed
Page 18
Description of The On-Line Medical Dictionary

The list 'biochemistry, cell biology, chemistry, medicine, molecular biology,
physics, plant biology, radiobiology, science and technology' was repeated.

The second instance of this listing HAS BEEN DELETED.

Anonymous    Mar 01, 2004
Printed
Page 21
Figure 1-4

The text says "Search for the words (but not as a quote-enclosed phrase) hey diddle
diddle. Figure 1-4 shows the results."

But Figure 1-4 shows the results for the _quote-enclosed phrase_ "hey diddle diddle".

Anonymous   
Printed
Page 21
three lines from bottom:

occurence

NOW READS:
occurrence

Anonymous    Mar 01, 2004
Printed
Page 23
2nd paragraph, 4th line

Where is says "drops dramatically to 3,490,000"
it should say "drops dramatically to 3,470,000"
the number of results shown in Figure 1-8.

Anonymous   
Printed
Page 26
Third sentence

The link: domain does not mix.

NOW READS:
The link: syntax does not mix.

Anonymous    Mar 01, 2004
Printed
Page 33
Custom Google Search Form;code was missing submit button.

Following line WAS ADDED prior to the </form> line:
<input type="submit" value = "Search Google">

Anonymous    Mar 01, 2004
Printed
Page 38
9 lines from top:

our fathers

NOW READS:
our forefathers

Anonymous    Mar 01, 2004
Printed
Page 43
11 lines down:

fast an easy

NOW READS:
fast and easy

Anonymous    Mar 01, 2004
Printed
Page 48
3 lines up from bottom

"and they're unusal enough"

NOW READS:
"and they're usually enough"

Anonymous    Mar 01, 2004
Printed
Page 56
down 6 lines:

miriad

NOW READS:
myriad

Anonymous    Mar 01, 2004
Printed
Page 58
5th paragraph;

In the 2nd line of the description of http://whatis.techtarget.com,
"you're got a hardware-"
should read
"you've got a hardware".

Anonymous   
Printed
Page 61
8 lines up from the bottom

"the visit the site itself."

NOW READS:
"to visit the site itself."

Anonymous    Mar 01, 2004
Printed
Page 100
In "sub doGoogleSearch" function

The line:
# Parse the XML my $results = XMLin($content);

NOW READS (two lines, instead of one):
# Parse the XML
my $results = XMLin($content);

Anonymous    Mar 01, 2004
Printed
Page 116
in the code

2nd to last line in the code NOW READS:

print qq{"$title","$url","$size","$suffix"
};

Anonymous    Mar 01, 2004
Printed
Page 124
example under "The Results"

the command:
$ perl groups2csv.pl < groups.html > groups.csv

NOW READS:
$ perl groups2csv.pl < groups.html

Anonymous    Mar 01, 2004
Printed
Page 126
4th line

$output =~ s!!!g; # drop all HTML tags

NOW READS:
$output =~ s!<.+?>!!g; # drop all HTML tags

Anonymous    Mar 01, 2004
Printed
Page 128
6th paragraph:

NOW READS:
of any data

Anonymous    Mar 01, 2004
Printed
Page 130
3 lines from bottom:

do it's thing

NOW READS:
do its thing

Anonymous    Mar 01, 2004
Printed
Page 131
2nd example under "Running the Hack"

$ perl phonebook2csv.pl < results.html > results.csv

NOW READS:
$ perl phonebook2csv.pl < results.html

Anonymous    Mar 01, 2004
Printed
Page 134
end para 2:

alotted

NOW READS:
allotted

Anonymous    Mar 01, 2004
Printed
Page 140
mid-para 2:

Goole Web

NOW READS:
Google Web

Anonymous    Mar 01, 2004
Printed
Page 141
3rd Paragraph

where it says "looping through results, 10 at a time [Hack #1]."
it should say "looping through results, 10 at a time [Hack #51]."

Anonymous   
Printed
Page 141
IN PRINT: "The 10-Result Limit" section, last sentence;

"...10 at a time [Hack #1]."

NOW READS:
"...10 at a time [Hack #51]."

Anonymous    Mar 01, 2004
Printed
Page 143 & 145
In the code, within a doGoogleSearch() function call

For ie and oe parameters of doGoogleSearch() function call, "latin1" is no longer a
valid value (as described earlier in this chapter).

"latin1" should be changed to "utf8".

AUTHOR: Indeed, every time ie or oe are set to "latin1", they should instead be
"utf8".

That said, the Google Web API ignores the encoding specification and forces
"utf8" so the there's no harm done by the current printing's use of
"latin1".

Anonymous   
Printed
Page 145
IN PRINT: Lines 10 and 11 of hack #51

"# Keep track of result number
my $number = 0;"

NOW READS:
<bold>"# Keep track of result number
my $number = 0;"</bold>

Anonymous    Mar 01, 2004
Printed
Page 146
1st text para:

defacto

NOW READS:
de facto

Anonymous    Mar 01, 2004
Printed
Page 152
1st text para:

Its no different

NOW READS:
it's no different

Anonymous    Mar 01, 2004
Printed
Page 163
In the section entitled "Running the Hack"

The existing statement reads -
% java -classpath .:googleapi.jar Googly "query words"

It's actually ; (semicolon) under win32

% java -classpath .;googleapi.jar Googly "query words"

and : (colon) under Unix and Mac OS X

% java -classpath .:googleapi.jar Googly "query words"

Anonymous   
Printed
Page 176
In the code

Warn "Searcing Google for $query
"

NOW READS:
Warn "Searcing Google for $query
";

Anonymous    Mar 01, 2004
Printed
Page 208
3rd paragraph, second sentence

"With Userland and Manila, it's as easy as ... "

NOW READS:
"With Radio Userland and Manila, it's as easy as ..."

Anonymous    Mar 01, 2004
Printed
Page 210
mid-page:

incoporate

NOW READS:
incorporate

Anonymous    Mar 01, 2004
Printed
Page 216
The last sentence before the figure 6-10.

Figure 6-10 illustrates the I'm Feeling Lucky Search.

NOW READS:
Figure 6-10 illustrates the I'm Feeling VERY Lucky Search.

Anonymous    Mar 01, 2004
Printed
Page 225
The first paragraph in Hack #72

http://onfocus.com/Book Watch/

NOW READS:
http://onfocus.com/BookWatch/

Anonymous    Mar 01, 2004
Printed
Page 238
9 lines from bottom:

comes and gos

NOW READS:
comes and goes

Anonymous    Mar 01, 2004
Printed
Page 245
bottom line:

music, and more.

NOW READS:
music and more.

Anonymous    Mar 01, 2004
Printed
Page 248
fifth line:

sensation, Eminem, is

NOW READS:
sensation Eminem is

Anonymous    Mar 01, 2004
Printed
Page 270
3rd Paragraph from the bottom, the sentence that starts "You can also fool Google..."

"...at the sime time."

NOW READS:
"...at the same time."

Anonymous    Mar 01, 2004
Printed
Page 272
3/4 of the way down the page

($whacktwo) = ($whacktwo =~ !m<h2><B>(.*)</b></h2>!i);

NOW READS:
($whacktwo) = ($whacktwo =~ m!<h2><B>(.*)</b></h2>!i);

Anonymous    Mar 01, 2004
Printed
Page 292
bullet #15:

"out weight"

NOW READS:
'outweigh'

Anonymous    Mar 01, 2004
Printed
Page 298
Tagline of section

"Solid content thoughfully prepared..."

NOW READS:
"Solid content thoughtfully prepared..."

In the first paragraph, the same mistake HAS BEEN CORRECTED.

Anonymous    Mar 01, 2004
Printed
Page 301
4th para:

on it's topic

NOW READS:
on its topic

Anonymous    Mar 01, 2004
Printed
Page 302
Item R:

content on to

NOW READS:
content onto

Anonymous    Mar 01, 2004