Previously I posted How to Google Instant(ise) a Custom Search Engine (CSE), which like a lot of my pet projects is perpetual beta (my general fallback to explain away bad coding or user interface). In particular it wasn’t until I took Chris Jobling’s Google Custom Search Engine for #PLENK2010 and ‘instantise’ it that a couple of issues became very apparent:
- Wouldn’t it be good to allow a traditional search on hitting the return key or clicking ‘search’.
- It would be great to make it easier to share the joy of Instant Custom Search Engines.
- Google Scribe was more of a hinder than help
So I’ve come up with Instant CSE v2 (UPDATE: Code is available from Github). This version has been beatified slightly using the Google search styling and also pulls the traditional Google CSE ‘search element’ results in when the search form is submitted. You can also instantise your own custom search by extracting your CSE ID and adding it to the url e.g. https://hawksey.info/blog/search/?cx=012010416210434366262:-vttp31xsd0 (I haven’t fully tested this feature so feedback is very welcome).
If you are interested in making your own custom searches for courses or events I recommend reading Alan Levine’s OPML to CSE recipe (OPML is one way to output the source url for a collection of RSS feeds) or Tony Hirst’s work on hashtag communities.
A couple of Instant CSE’s to play with:
Finding Email Addresses from Twitter IDs – Google OtherMe « OUseful.Info, the blog…
[…] *btw, @mhawksey just published a rather handy way of creating an instant “instant search” interface for a Google CSE… […]
Google Instant makes searching the web easier. | Brionglóid Media Blog
[…] yet I did come across this Instant Google Custom Search Engine with information on how it was done here. I’ll be looking into that myself to see how I can adapt it for […]
A Custom Search Engine for the Computer Weekly IT Blog Awards 2010 Nominees « OUseful.Info, the blog…
[…] And here’s an instantised version, via Martin Hawksey’s Instant CSE app: […]
sasha
hi can u share this search code?
http://mashe.hawksey.info/search/?cx=012010416210434366262:-vttp31xsd0
Martin Hawksey
I’ve but the code on github https://gist.github.com/976163
sasha
tanx a lot mr.martin
in default google cse have ads but your last code
“””http://mashe.hawksey.info/2010/09/google-custom-instant/comment-page-1/#comment-11521″””
ignore it.please help me to show search result in multi pages with this code.
tanx
Martin Hawksey
The AJAX search won’t pull all results just first 8-10 (can’t remember exact figure) the user needs to hit return to get paged results. Ads are removed by an option in Google CSE Control panel – Business settings. You should only enable this if you are a charity or non-profit as per terms and conditions
sasha
ok tanx for help
i want a good search for my sites
Whether there is php code and it able reed result from google cse?
Ujjawal Agrawal
I have created adsense custom search engine which show results from web not from my website. How do I make it instance enable?
It should display ads also.Please help me
Martin Hawksey
Don’t think it’s possible – the instant results come from a different Google search product that doesn’t include adsense (opened as an Issue 2 in 2008 http://code.google.com/p/google-ajax-apis/issues/detail?id=2)
Sorry, Martin
Cooking: A Custom Search Engine for … with Edublog 2010 Nominees JISC CETIS MASHe
[…] labour a Google Custom Search Engine of the 2010 Edublogs Award nominations and of course using my How to Google Instant(ise) a Custom Search Engine (CSE) theInstantised Google Custom Search Engine of the 2010 Edublogs Award nominationsShare this post […]
How to Google Instant(ise) a Custom Search Engine (CSE) JISC CETIS MASHe
[…] Update: This solution has evolved slightly. More information in How to Google Instant(ise) a Custom Search Engine (CSE) – Revisited […]