By Tara Calishain, Rael Dornfest
Cover | Table of Contents | Colophon
http://www.snopes.com/) for a taste of the
kinds of urban legends and other misinformation making the rounds of
the Internet.
http://www.snopes.com/) for a taste of the
kinds of urban legends and other misinformation making the rounds of
the Internet.
AND (it'll search for both
keywords) or Boolean OR (it'll
search for either keyword). Of course, even if a search engine
defaults to searching for both keywords (AND) you
can usually give it a special command to instruct it to search for
either keyword (OR). But the engine has to know
what to do if you don't give it instructions.
AND; that
means if you enter query words without modifiers, Google will search
for all of them. If you search for:
snowblower Honda "Green Bay"
OR between each item:
snowblower OR snowmobile OR "Green Bay"
snowblower (snowmobile OR "Green Bay")
OR borrowed from the computer programming realm is
the | (pipe) character, as in:
snowblower (snowmobile | "Green Bay")
AND, OR,
and quoted strings, Google offers some rather extensive special
syntaxes for honing your searches.
intitle:
intitle:
restricts
your search to the titles of web pages.
The variation, allintitle: finds pages wherein all
the words specified make up the title of the web page.
It's probably best to avoid the
allintitle: variation, because it
doesn't mix well with some of the other syntaxes.
intitle:"george bush" allintitle:"money supply" economics
inurl:
inurl:
restricts
your search to the URLs of web pages.
This syntax tends to work well for finding search and help pages,
because they tend to be rather regular in composition. An
allinurl: variation finds all the words listed in
a URL but doesn't mix well with some other special
syntaxes.
inurl:help allinurl:search help
intext:
http://www.google.com/advanced_search?hl=en)
page provides more options such as date search and filtering, with
"fill in the blank" searching
options for those who don't take naturally to
memorizing special syntaxes.
AND by default, it's sometimes
hard to logically build out the nuances of just the query
you're aiming for. Using the text boxes at the top
of the Advanced Search page, you can specify words that
must appear, exact phrases, lists of words, at
least one of which must appear, and words to be excluded.
http://www.google.com/language_tools?hl=en.
flowers.
football. Now
search for football
bloke.
Totally different results set, isn't it? Now search
for football
bloke
bonce. Now you're into soccer
narratives.
http://www.probertencyclopaedia.com/slang.htm
"protest too much methinks"
"doth protest too much"
quote origin English usage and
you're stepping beyond the ten-word limit.
hey
diddle
diddle. Figure 1-4 shows the results.
diddle
hey
diddle a whirl. Again, it should come as no
surprise that the first result contains the phrase
"diddle hey diddle." Figure 1-5 shows the results.
diddle diddle hey (Figure 1-6).
internet. At the time of this writing Microsoft
was the first result. Now try searching for internet
internet. At this writing Yahoo! popped to the top.
Experiment with this using other words, putting additional query
words in if you want to. You'll see that multiple
query words can have an impact on how the search results are ordered
and in the number of results returned.
clothes as an example (Figure 1-7). This returns 7,050,000 results, the top
being a site called "The Emperor's
New Clothes." Let's add another
clothes to the query (Figure 1-8). The number of results drops dramatically to
3,490,000, and the first result is for a clothing store. Some
different finds move their way up into the top 10 results.
clothes
clothes
clothes (Figure 1-9). The result order and results themselves
remain the same.
clothes
clothes returns pages with two occurrences of the word
"clothes." rphonebook:,
bphonebook:, and phonebook: [Hack #17]—are all antisocial syntaxes.
You can't mix them and expect to get a reasonable
result.
link:
syntax.
The link: syntax shows you which pages have a link
to a specified URL. Wouldn't it be great if you
could specify what domains you wanted the pages to be from? Sorry,
you can't. The link: syntax does
not mix.
link:www.oreilly.com
-site:edu
will not work, because the link: syntax
doesn't mix with anything else. Well,
that's not quite correct. You will get results, but
they'll be for the phrase "link
www.oreilly.com" from domains that are not
.edu.
three
blind
mice. Your result URL
will vary depending on the preferences you've set,
but the results URL will look something like this:
http://www.google.com/search?num=100&hl=en&q=%22three+blind+mice%22
&q=%22three+blind+mice%22,
%22 being a URL-encoded "
(double quote)—is pretty obvious, but let's
break down what those extra bits mean.
num=100 refers
to the number of search results to a
page, 100 in this case. Google accepts any number from 1 to 100.
Altering the value of num is a nice shortcut to
altering the preferred size of your result set without having to
meander over to the Advanced Search page and rerun your search.
num= in your query?
Simply append it to your query URL using any value between 1 and 100.
= (equals)—to something within the
accepted range for the modifier in question.
hl=en means the
language interface—the language
in which you use Google, reflected in the home page, messages, and
buttons—is in English (at least mine is).
Google's Language Tools page [Hack #2] provides a list of language choices. Run your
mouse over each and notice the change reflected in the URL; the one
for Pig Latin looks like this:
<!-- Search Google --> <form method="get" action="http://www.google.com/search"> <input type="text" name="q" size=31 maxlength=255 value=""> <input type="submit" name="sa" value="Search Google"> </form> <!-- Search Google -->
<form> tags, it's rather
tidy and useful to keep them all together after all the visible form
fields.
<input type="hidden" name="as_filetype" value="PPT">
daterange:
timestamp
can change when a page is indexed more
than one time. Whether it does change depends on whether the content
of the page has changed.
daterange:? There
are several reasons:
http://search.cpan.org/search?query=Time%3A%3AJulianDay.
* (asterisk) but
sometimes ? (question mark)—to part of your
query, requesting the search engine return variants of that query
using the wildcard as a placeholder for the rest of the word at hand.
For example, moon* would find: moons, moonlight,
moonshot, etc.
*) into a phrase and have the
wildcard act as a substitute for one full word. Searching for
"three * mice", therefore, finds: three blind
mice, three blue mice, three green mice, etc.
* is a stand-in
for one word; two * signifies two words, and so
on. The full-word wildcard comes in handy in the following
situations:
intitle:"methinks the * doth protest too
much" and intitle:"the * of
Seville".
site: special
syntax is perfect for those situations in which you want to restrict
your search to a certain domain or domain suffix like
"example.com,"
"www.example.org," or
"edu": site:edu.
But it breaks down when you're trying to search for
a site that exists beneath the main or default site (i.e., in a
subdirectory like /~sam/album/).
site: to find all the pages in
http://www.geocities.com/Heartland/Meadows/6485/;
Google will return no results. Enter inurl:, a
Google special syntax [Section 1.5] for specifying a string to be found in a
resultant URL. That query, then, would work as expected like so:
inurl:www.geocities.com/Heartland/Meadows/6485/
http:// prefix in a URL is summarily
ignored by Google when used with site:, search
results come up short when including it in a
inurl: query. Be sure to remove prefixes in any
inurl: query for the best (read: any) results.
inurl:
query instead of the site: query has two immediate
advantages:
inurl: by itself without using any
other query words (which you can't do with
site:).
inurl: in combination with the
site: syntax to get information about
subdomains. For example, how many
subdomains does O'Reilly.com really have? You
can't get that information via the query
site:oreilly.com, but neither can you get it just
from the query inurl:"*.oreilly.com" (because that
query will pick up mirrors and other pages containing the string
oreilly.com that aren't at the
O'Reilly site).
site:oreilly.com inurl:"*.oreilly" -inurl:"www.oreilly"
hydrocephelus, Google will suggest that
you search instead for hydrocephalus.
hydracefallus finding (hopefully) no results will
spark a Google-initiated search for hydrocephalus.
garafghafdghasdg, you'll get no
results and be offered no suggestions as Figure 1-10
shows.
http://www.dictionary.com/).
Definitions, while coming from a credible source and augmented by
various specialty indexes, can be more limited.
"jolly
roger" will allow you to
look up the phrase "jolly roger."
On the other hand, the phrase "computer legal"
will allow you to look up the separate words
"computer" and
"legal."
http://www.onelook.com/) which indexes over 4
million words in over 700 dictionaries. If that
doesn't work, try Google again with one of the
following tricks, queryword being the word
you want to find:
storyboard stet SAU,
you'll get only a few search results, and
they'll all be glossaries.
glossary;
say, stet glossaryphonebook
rphonebook
bphonebook
phonebook: lookups lists only
five results, residential and business combined. The more specific
rphonebook: and bphonebook:
searches provide up to 30 results per page. For more chance of
finding what you're looking for, use the appropriate
targetted lookup.
phonebook:smith ca
stocks:. Searching for
stocks:
symbol, where
symbol represents the stock
you're looking for, will redirect you to
Yahoo! Finance (http://finance.yahoo.com/) for details. The
Yahoo! page is actually framed by Google; off to the top-left is the
Google logo, along with links to Quicken, Fool.com, MSN MoneyCentral, and
other financial sites.
stock: query and
you'll still find yourself at Yahoo! Finance,
usually staring at a quote for stock you've never
even heard of or a "Stock Not
Found" page. Of course, you can use this to your
advantage. Enter stocks: followed by the name of a
company you're looking for (e.g.,
stocks:friendly). If the
company's name is more than one word, choose the
most unique word. Run your query and you'll arrive
at the Yahoo! Finance stock lookup page shown in Figure 1-12.
http://finance.yahoo.com) to quickly look up
stocks by symbol or company name; there you'll find
all the basics: quotes, company profiles, charts, and recent news.
For more in-depth coverage, I heartily recommend
Hoovers
(http://www.hoovers.com). Some of
the information is free. For more depth, you'll have
to pay a subscription fee.
http://www.multilingual.ch)
offers three different tools for finding material of use to
translators. Created by Tanya Harvey
Ciampi
from Switzerland, the tools are available in AltaVista and Google
flavors. A user-defined query term is combined with a set of specific
search criteria to narrow down the search to yield highly relevant
results.
firewall, try searching for
intitle:firewall.