Archive for the 'searching' Category

Single-Letter Google Hits

Saturday, April 29th, 2006

Here’s what happens when you search for single letters on Google:

Interestingly I got to see the new Google search results page, with the
sidebar, once. It must be in the process of rolling out…

Tags: 

This post was written by Justin, source: Single-Letter Google Hits

Another script: goog-love.pl

Thursday, March 2nd, 2006

A quick hack –

goog-love.pl - find out where your site’s google juice comes from

This script will grind through your web site’s “access.log” file (which must be
in the “combined” log format). It’ll pick out the top 100 Google searches
found in the referer field, re-run those searches, and determine which ones are
giving your website all the linky Google love — in other words, the searches
that your site ‘wins’ on.

The output is in plain text and a chunk of HTML.

usage:

goog-love.pl sitehost google-api-key < access.log > out.html

e.g.

cat /var/www/logs/taint.org.* | goog-love.pl \
  taint.org 0xb0bd0bb5yourgoogleapikeyhere0xdeadbeef | tee out.html

NOTE: this script requires the SOAP::Lite module be installed. Install
it using apt-get install libsoap-lite-perl or cpan SOAP::Lite.
It also requires a Google API key.

For example, here are the current results for this
site
. You can immediately see some interesting stuff that’s not
immediately obvious otherwise, such as my site being the top hit for [beardy
justin
] ;)

Download here (4 KiB perl script).

This post was written by Justin, source: Another script: goog-love.pl