PDA

View Full Version : Search engine for a small Website


CompusMentus
26th October 2009, 05:30 AM
I've set up a website and I need a search engine for the site (it's only 6 pages and not likely to get much larger but will contain lots of info) can anyone recommend something? I'm a html nooby BTW, but willing to knuckle down and learn.

tia

Compus

BigAl
26th October 2009, 06:49 AM
Is Google searching your site already?

You can give your users a URL that searches your site, only by giving a google search that includes site:http://yoursitedomainname

Paul C. Anagnostopoulos
26th October 2009, 07:35 AM
Here's how I set it up on my model club's site:

http://www.classicplastic.org/search.html


~~ Paul

CompusMentus
26th October 2009, 07:48 AM
Is Google searching your site already?
You can give your users a URL that searches your site, only by giving a google search that includes site:http://yoursitedomainname



I did go down the Google Avenue, last week I submitted the site to google and placed a txt sitemap on the site etc etc did all as requested. Google hasn't indexed it yet. I wonder how long Google takes to index a newly submitted site. I've read about people who waited for several months...

Here's how I set it up on my model club's site:
http://www.classicplastic.org/search.html
~~ Paul



Thanks I'll take a look at that now.

ETA Looked at your site Paul see above, I've got to get Google to index the site for me before I can use their service. Thanks anyway.

Ive got a script that uses perl to set up a search function on the site. I've looked at the readme that came with and it's quite complicated to a noob like me. I was hoping someone could point me to an option that is simple and easy. Perhaps I should get stuck in my time is a little limited atm but I'll have to bite the bullet I suppose.


Compus

Paul C. Anagnostopoulos
26th October 2009, 12:28 PM
ETA Looked at your site Paul see above, I've got to get Google to index the site for me before I can use their service. Thanks anyway.
I'm not sure I would hesitate to use Google just because you might have to wait awhile. Perhaps a temporary immediate solution, then eliminate it once you're indexed.

It took Google about a month to re-index our club site after I completely replaced the pages.

~~ Paul

six7s
26th October 2009, 10:48 PM
Here's how I set it up on my model club's site:

http://www.classicplastic.org/search.html


~~ Paul
That (needlessly) uses javascript

A 'standards-compliant' html-only version:

<div id="myUniqueDivName">
<form method="get"
action="http://www.google.com/search"
name="myUniqueFormName">
<input type="text"
name="q"
maxlength="255">
<input type="submit"
value="Google Search NOW!!11!!">
<input type="hidden"
name="domains"
value="www.example.com">

<!-- !!11!!

NOT value="http://www.example.com" !!11!!

-->


<input style="visibility:hidden"
type="radio"
name="sitesearch"
value="www.example.com"
checked="checked">
</form>
</div>