Slashdot Mirror


Google Hacks

honestpuck writes "It has been quite a while since I have come across a book I'd label 'essential.' The last for non-programming computer users was Robin Williams' The Mac Is Not A Typewriter which I bought for a number of new Macintosh users." Now, though, honestpuck has found another book which he says is required reading for modern computer users -- read on for his review of O'Reilly's Google Hacks. Google Hacks: 100 Industrial-Strength Tips and Tools author Tara Calishain and Rael Dornfest pages 318 publisher O'Reilly rating Excellent reviewer Tony Williams ISBN 0596004478 summary Excellent compendium of tips and tricks for everyone on using Google and its API

The book in brief Google Hacks by Tara Calishain and Rael Dornfest and published by O'Reilly will appeal to an even wider audience, I can imagine buying this for friends who haven't cottoned on to 'net searching at all and friends who complain "Google returns too many sites." People who are afraid to code shouldn't be put off by the "Hacks" in the title: O'Reilly have obviously taken a wider meaning of "hack" than just a neat piece of code. This book is a marvelous compendium of tips and tricks for Google, ranging from simple ways of getting the search results you want, through using Google's newer services such as phone books and image search, all the way to advanced ways of using scrapers and the Google API.

The book demonstrates 100 hacks, of which close to half are useful for everyone -- newbie, programmer and non-programmer alike. The first 35 hacks, in chapters one and two, will educate you about the intricacies of getting the best out of searching both Google's main web catalog and the newer 'Special Services and Collections.' This is the part of the book that should be essential reading for Google users -- in the two days I've had this book these have proved invaluable. The rest are for those who are either looking for extremely advanced search tips, increasing their web site's Google page rank, or programming an application to use the Google data -- all topics well covered in this volume.

What's Good In This Book

To start, it is well written, well laid out with a good contents section, good index, and some appropriate introductory material before getting down to the first hack. Each of the hacks are numbered and a single hack will often cross-reference other hacks that add information relevant to it. The hacks in each chapter nicely add on each other in both complexity and function.

The hacks themselves seem to cover every area of Google that you might want. They range from the downright frivolous (there is a chapter "Google Pranks and Games") to serious ways of improving your search results and excellent examples of good ways to use the Google API.

Most of the code fragments are in Perl, and among the hacks are ways of getting the job done without over extensive use of extra modules such as XML Parsers and SOAP::Lite (including a hack that uses regular expressions to parse the XML).

What's Bad In This Book

It's hard to find anything bad to say, apart from some frustration that a couple of the hacks that interested me used ASP or VB rather than a more portable language.

Oh, another minor quibble, the allied web site O'Reilly Hacks Series has been slow and has none of the code in the book or any of the URLs mentioned listed anywhere -- it seems more geared towards marketing the books than helping the readers.

(DISCLAIMER: I use Rael Dornfest's Blosxom blog software and have contributed a plugin for his software.)

You can purchase Google Hacks from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

26 of 152 comments (clear)

  1. But... by unterderbrucke · · Score: 5, Insightful

    ...misuses of the Google API could lead to them not allowing open access to it anymore, which would deny access to useful tools to proper users.

    1. Re:But... by Hentai · · Score: 3, Interesting

      How is this offtopic? This is exactly what tends to happen with these sorts of 'tricks' - although, admittedly, Google's "don't be evil" policy will probably mitigate this somewhat.

      The point is, whenever you utilize these tricks, remember the 'Tragedy of the Commons' lesson, and think Kantian - "What would happen if EVERYBODY did this? Would the system still support us?"

      If the answer is "no", realize that you're shitting where you eat, and find a more sustainable endeavor.

      --
      -Hentai [in vita non pacem est]
    2. Re:But... by TopShelf · · Score: 4, Interesting

      But then again, disuse of the Google API could lead them to ignore development there. Sounds kinda like Goldilocks here...

      --
      Stop by my site where I write about ERP systems & more
  2. If you're a Google H4X0R... by krugdm · · Score: 5, Funny

    make sure you're using this Google...

    1. Re:If you're a Google H4X0R... by misterhaan · · Score: 4, Funny

      there's also this one
      and this one

      --

      track7.org has all kinds of interesting stuff!

  3. Google Hacks... by Shant3030 · · Score: 5, Insightful

    You mean to tell me someone wrote a book that can give better options than "+" and "-"?

    Nice... see you at bn.com!

    --
    100% Insightful
  4. Google Searches... by MoeMoe · · Score: 5, Funny

    As if searching for pr0n wasn't easy enough...

    --
    Business \Busi"ness\, n.;
    A scam in which all people involved perceive as beneficial...
  5. Google API. by termos · · Score: 5, Informative

    [...] excellent examples of good ways to use the Google API. [...]
    I had never heard of a Google API, so I did a search on Google (hah), and found this. You can use it in your software as a nice little feature. Would it be nice to have a google search option in the help section of your next software project? I like that idea.

    --
    Note to self: get smarter troll to guard door.
  6. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  7. Like what? by jolshefsky · · Score: 4, Insightful
    Ok, could anyone who's seen the book give an example of something that is not:
    • Using "+" and "-", and the iterative derivatives thereof (search for Heisenberg; add -"Star Trek"; etc.)
    • Using the keyword: features already documented at Google, such as "site:".
    • Thinking about what words might appear in the text of your desired results rather than the topic at hand.
    --
    --- Jason Olshefsky

    Karma: Poser (mostly affected by adding this line long after everyone else did)

    1. Re:Like what? by SimplyCosmic · · Score: 5, Informative


      There are some sample hacks on the O'Reilly webpage for the book, which is also available as part of the O'Reilly Safari Bookshelf for those that subscribe to the service.

    2. Re:Like what? by FTL · · Score: 5, Interesting
      I don't know if it is in the book, but here's a feature not in Google's documentation:

      "how to * a cat"

      Wild cards in Google. Who knew?

      --
      Slashdot monitor for your Mozilla sidebar or Active Desktop.
    3. Re:Like what? by mosch · · Score: 4, Interesting
      I added the book to my safari bookshelf to see what all the fuss is about. In fifteen minutes, I learned that I could do date-bounded searches, about using inurl instead of site, got some cool references to some bookmarklet sites, info on how to scrape google, info on how to program the google API and such.

      I wouldn't call it a must-read, but it's certainly worth adding to your safari bookshelf for a month.

    4. Re:Like what? by the_real_tigga · · Score: 4, Funny

      I always knew that there is more than one way to * a cat!

      --
      my .sig is better than yours.
  8. Geeks are such suckers. by Tofino · · Score: 3, Funny

    1. Take GOOGLE FOR DUMMIES. 2. Retitle it, adding a geek word (such as, oh, say, "hacks"). 3. Profit! No "?" step here.

  9. Here's a fun little Google trick... by seekohler · · Score: 5, Funny

    Go to Google.com.
    Type in the search terms, "French military victories".
    Click "I'm feeling Lucky".
    Enjoy.

  10. Searching for a specific file? by Boss,+Pointy+Haired · · Score: 5, Informative

    Google for:

    "Index +of" $filename

    The quotation marks are relavent.

  11. Nifty! by xchino · · Score: 3, Interesting

    I think a book like this has been due for awhile now. Google has more features than even they probably know about, but thankfully they don't try to cram them all into blocks all over the page. When you go to www.google.com you get a very accessible, very simple, yet still powerful site. Many people I know use nothing but the default google search, because it gets the job done. I can find out whatever I want about Linux from a basic google search. I can usually find it easier, however, with www.google.com/linux. I only head about it form word of mouth, I had never actually lookd for it. New services and tools are being added all the time, and I mean all the time :) check here to see some of the new and upcoming features. I think most of you would be suprised to find out all the ways google can make your life easier aside from just by being the best damned web search engine.

    --
    Everyone is entitled to their own opinion. It's just that yours is stupid.
  12. Give it to me now by CanadaDave · · Score: 3, Funny

    Can someone scan the book and put it in their Kazaa Shared Folder please? Thanks.

  13. Authors Website with some examples from the book by jesus_watkins · · Score: 5, Informative
    The author of the book has a website with some of the example that appear in the book.

    Some of them are quite fun to muck around with.

  14. trick explained by Joe+the+Lesser · · Score: 5, Informative

    This story explains how that works and who's behind it.

    --
    "I only speak the truth"
    Karma: null(Mostly affected by an unassigned variable)
  15. I'll just Froogle Google Hacks by FatalTourist · · Score: 5, Funny

    Let's see here: Froogle! Ooh! The 5th result lists the book for $12.50. But then when I actually click on the link it's $15.50! Damn you, Froogle!
    I'm sure if I had the book it would tell me how to hack Froogle into getting a lower price for the book. But then I'd already have the book...

    --


    Escape Pod Films: Sketch Comedy and Web Series
  16. Can't be done i'm afraid by Anonymous Coward · · Score: 3, Informative

    You need a license key to unlock the searches, which is limited to 1000 searches a day. This is fine for yourself, but if you distribute the software to 1000 people, they can only do one search each a day (or one person does 1000 searches and everyone else gets pissed off)

    Oh and BTW, given the storys about the amount of personal data being cached by google every time you search, does anyone now what app/computer specific data the api's are sending back along with the query?

  17. Comment removed by account_deleted · · Score: 4, Insightful

    Comment removed based on user account deletion

  18. Google News by David_Bloom · · Score: 4, Interesting

    If you tweak around with the URL, you can get Google News to display the navigation bar on top (it's better that way, IMHO).

    --

    Karma: Excellent (fuck, even in the future moderation doesn't work!)
  19. Re:What I really want(but am too lazy to look for) by antidigerati · · Score: 3, Informative

    Why assume that it doesn't do that? Just because you don't know how?

    Here is the advanced help page describing the search syntax you desire (plus others).

    And because you have shown yourself to be lazy.. here is the syntax (linked even!) so you can try your above query on Google.

    (baquaspa OR "baqua spa" OR "baquacil") (plastics OR warranty) bromine

    On Google the AND is implied.. and you must capitalize your ORs.

    Enjoy.