Bruceee's Sandpit
Web Design with SiteSpinner
home
home
home
code
code
code
Code Pages -- main

Add a Search Engine to Your Site

A search facility on your site is a useful feature where you have more than a few pages.

They can be free for non commercial use and adding the code to your page is easy. Usually they are supported by advertising as is this one here. I preferred this one originally as the advertising was more discreet than others but when I looked in June 2005, there wasn't much difference.

Another useful features is statistics. As I write this first time, there are absolutely no statistics for this site -- I have done a few test searches only. These tell you what search terms your visitors are using, and should allow you to over time to improve your site to cater for their tastes.

The search index lives off site, on the site of the Search Engine provider, When your visitor fills out the search form, your page builds the query and sends it to to that site. The search results come back from there.
Atomz Code
Below is the code for this site. If you want to experiment, trial it here or copy it to one of your pages as a code object. However, the code links to an index that has already been prepared for this site -- so that will not give the search results that you want for your site. See Atomz.com for your own index.
<!-- Atomz Search HTML for Bruceee's Sandpit -->
<form method="get" action="http://search.atomz.com/search/">
<input size="15" name="sp-q"><br>
<input type="submit" value="Search">
<input type="hidden" name="sp-a" value="sp1003206e">
<input type="hidden" name="sp-p" value="all">
<input type="hidden" name="sp-f" value="ISO-8859-1">
</form>
Freefind
This is another free Search Engine that I have tested.  See http://www.freefind.com/.
Initial setup is easier that for Atomz. Test it here:

powered by FreeFind
FreeFind Code
Again you can experiment with this -- either trial it here, or copy this code as a code object to your SiteSpinner workpage.
<FORM ACTION="http://search.freefind.com/find.html" METHOD="GET" target="_self">
<FONT size=1 face="arial,helvetica" >
<INPUT TYPE="HIDDEN" NAME="id" VALUE="63323842">
<INPUT TYPE="HIDDEN" NAME="pageid" VALUE="r">
<INPUT TYPE="HIDDEN" NAME="mode" VALUE="ALL">
<INPUT type="HIDDEN" name="n" value="0">
<INPUT TYPE="TEXT" NAME="query" SIZE="15">
<small>
<INPUT TYPE="SUBMIT" VALUE=" Find ">
<br>
</small>powered by
<a href="http://www.freefind.com">
FreeFind</a></font></FORM>
Links
Free: Join up with Atomz
Free: Join up with Freefind

Final thoughts
  • Should you have a strong preference for one engine over the other, please let me know. Or if you know of a better search engine.
  • If you use a search engine like this, keep an eye on the ads included in each -- they do change over time.
  • This site changed to a new URL after I signed up with both engines. It was easy to update the indexes for both engines to reflect that.
  • If you make changes to your site, ask your engine to re-index. It may not do it on a regular basis
  • I get a weekly summary of searches -- typically, there are only a few searches each week.