[web-tips > search box]
A Simple Search Box by tedd
So, you want a search box -- it's very easy.
Simply do two things:
-
Register your site via: Add your URL to Gigablast
The Gigablast directory must have your site registered to be able to search it, and that makes sense. Besides, this is another search engine
and you can add your site to their database -- and as such, it can't hurt.
- Place the following code in your web page. Remember to change "yourdomain.com") to your domain (what else?). Also, please note the logo.gif. You can add your logo to the search results and make the results look more like your site, very cool.
<form method=get action="http://sitesearch.gigablast.com/search"> <input type=hidden name=sc value=0> <input type=hidden name=sites value="www.yourdomain.com"> <input type=hidden name=iu value="http://www.yourdomain.com/logo.gif"> <input type=hidden name=iw value=200> <input type=hidden name=ih value=50> <input type=hidden name=ix value="http://www.yourdomain.com/"> <input type=text name=q size=40> <input type=submit value=search border=0> </form>
The search box looks like:
Try it... the search will be limited to just my site (as it will with yours). The point is that other search boxes, like Google for example, will also present results that are not related to the search of your site, such as sites who pay Google to advertise -- sneaky, huh?
However, Gigablast doesn't do that and everything shown by a search from their engine will be related to your site and no other -- again, mondo cool.
tedd...

