How to Google Instant(ise) a Custom Search Engine (CSE)

Furry 2yo instant coffee
Furry 2yo instant coffee
Originally uploaded by avlxyz

Update: This solution has evolved slightly. More information in How to Google Instant(ise) a Custom Search Engine (CSE) – Revisited

Google have grabbed quite a few headlines with their new Instant search and there has been a rush of developers ‘instantising’ other sites. The one which has got the most attention is Stanford student Feross Aboukhadijeh who after making YouTube Instant has been offered a job with YouTube.

Following this and some other ‘Instant’ sites popping up (usually with an employ me banner) Tam Denholm has come up with instantise.com which at last count has 16 different sites that you can get an instant style search result. A number of these are created by just adding a ‘site:a-single-site.com’ operator which limits the search just to a particular domain.

But what is you want to search across multiple domains like the ALTC2010 custom search engine created by Tony Hirst from the #altc2010 hashtag community (See Deriving a Persistent EdTech Context from the ALTC2010 Twitter Backchannel)?

Fortunately the Google AJAX Search API used in Tam’s example can be directed filtered using a Google Custom Search Engine. Here’s how to do it (BTW :

  1. Log in to Custom Search and set up your own custom search engine
  2. Next you need to sign up for an API key on the Google AJAX Search API
  3. Download this code unpacking the files
  4. In instant.js you will need to enter you AJAX API key and your Google Custom Search ID (this information is on the Basic’s page of the CSE control panel)
  5. Upload files to your server and test them

I only modified Tam’s files slightly but one addition I made was to include the Google Scribe bookmarklet script. Google Scribe is a Google Labs project which provides autotext completion. Whilst this is probably not as accurate as the prediction used in Google Instant (Scribe helps build sentences rather than return the most popular search terms) it still potentially speeds up the process of getting search results (here is more info on Google Instant, behind the scenes).
If you want to see how all of this looks:

*** Here is a Google Instant(ish) search of this blog and some of my other social media activity ***

BTW if anyone wants to give me a job you should also check out my post on Convergence @youtube meets @twitter: In timeline commenting of YouTube videos using Twitter [uTitle] ;-)

5 Responses to “How to Google Instant(ise) a Custom Search Engine (CSE)”


Leave a Reply

About

This blog is authored by Martin Hawksey e-Learning Advisor (Higher Education) at the JISC RSC Scotland N&E.

JISC RSC Scotland North & East logo

If you would like to subscribe to my monthly digest please enter your email address in the box below (other ways are available to subscribe from the button below):

Subscribe to MASHe to monthly email updates

Loading...Loading...


The MASHezine (tabloid)

It's back! A tabloid edition of the latest posts in PDF format (complete with QR Codes). Click here to view the MASHezine

Preview powered by:
Bluga.net Webthumb

The MASHezine (eBook)

MASHe is also available in ebook and can be downloaded in the following formats:

Powered by NEWSTOEBOOK.COM

Archives

Opinions expressed in this blog are not necessarily those of the JISC RSC Scotland North & East.

JISC Advance Logo

JISC Advance is a new organisation that brings together the collective expertise of established JISC services:

For further information visit www.jiscadvance.ac.uk

Creative Commons Licence
Unless otherwise stated this work is licensed under a Creative Commons Attribution-ShareAlike 2.5 UK: Scotland License