I am asked this question time and time again, How do I set up a searchable database? There are actually a few different ways - some are harder than others. Here's a quick look at the three main ways.
Search Excite Here:
Search Webcrawler Here:
Search Yahoo Here:
Go ahead, enter a word - nothing dirty mind you! The results of your search will be returned straight away.
Ah - good. You're back. Neat, Huh? Actually, I lied above. (And I may lie down below) My site didn't perform any of the searches. They were done by Yahoo, Webcrawler, or Excite depending on which one you chose. I just intiated the search. When you got your results, did you notice that you were no longer in Kansas Goodies any more? You were at the site of the search engine you chose.
Notice it's a simple set of form commands, set up much like you would to create a link button or a simple mailto: guestbook. However, in this case you are using the form to send the information contained within the text box to a search engine. That what you call the actual program that searches the Yahoo database, a "search engine." In the example up above, you are sending the info to Yahoo's CGI bin to be worked on by something called "search."
Here are the Webcrawler and Excite lines from above:
<FORM NAME="wcsearchform" ACTION="http://webcrawler.com/cgi-bin/WebQuery" METHOD="GET">
<FORM NAME="search" ACTION="http://www.excite.com/search.gw" METHOD="get">
Notice they also sent the output of the text
box to a search engine. One goes to something called "WebQuery" and the
other goes to "search.gw." Once the data is sent to the search engine,
then the site's database is searched and you get your results.
But note again that you do not use my site
to search - you only send the information from my site. Once that's done,
I'm totally out of the picture - and you're at the search engine's site.
Once more thing... Notice the "METHOD" in the two above, and the name="p" in the Yahoo search above? Those are little items that each search engine uses to denote how to manipulate the data it receives and what to name the output sent through the text box. Each Search Engine will work differently and you must make sure you use the search engine's format, exactly, on your page.
Try Number 2
Next I tried the Excite
search engine. This is a search engine put together by the people at Excite.
It is a self-contained package that your webmaster may already have. Mine
did. $275.
The search engine was wonderfully easy. It
installed quickly and made an entire directory searchable. All I did was
point it in the right direction. It compiled the data and was up and running
in a matter of minutes. After a month, I had to take it down. So many people
were using it that the search engine was taking up 3 out of every 5 cycles
of the computer's brain. In layman's terms - it was about to crash the
whole system by over-working it. I still have it and I still use it to
search, but I don't make it available to others. It slowed the site tremendously.
Try Number 3 This is the current try, and I think this may work. I am running a java-driven searchable database. Want to see it? I know you would:
The database is one created by Satadip Dutta. The reason I like this database so darn much is because my site is not involved in the search. You are doing all the work.
Don't look so dazed. It's all you man! The search engine page you just went to and probably ran is really just a huge java script. When you enter in a word, the java script isn't searching my site - it's searching itself.
Yeeepper! When you logged into the page, you actually downloaded the entire database with the page. Clicking the button made the java script search itself. What it returned was simply what it found contained within itself. So your computer did all the work and the Goodies server was free to go on about its business.
I thought you might. So I put together a quick tutorial on using the Java script to make one for yourself. Follow this link:
Please take the time to read the requirements, Satadip Dutta has put a lot of time into this work and wants you to use it. Just make sure you give him credit where he asks for it. It's the least you can do.
Well, enjoy. There's not a whole lot more I
can tell you. You know how to search other databases from your site and
a couple of suggestions about how to set up Excite and other CGI driven
searches. You may want to contact your site administrator to look into
those paths. Plus you have a link to get started on making your own java-driven
searchable database. Any of them will work. You just need to pick the one
that you like best.