Tuesday, August 18, 2009

Hyperspec search engine

For those of you who like this sort of thing, I have a “Google Custom Search Engine” for searching the Hyperspec and the AMOP. You can put it on your home page or on your web site with some simple Javascript:
<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="008072110934663485714:6gce0ybe318" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
If you are adventurous, you can use the AJAX api and build your own interface to it.

No comments: