• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Search engine for a small Website

CompusMentus

Waiting for the Worms
Joined
Aug 31, 2009
Messages
1,807
Location
Swansea UK
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
 
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
 
Last edited:
CompusMentus said:
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
 
Last edited:
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:

PHP:
<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>
 

Back
Top Bottom