PDA

View Full Version : How to use Google search engine for your website?


ClueLess
09-28-2004, 07:49 PM
I know there are quite a few public schools/non-profits using GOOGLE search engine for their website. We would like to have a search engine for our school website... I just wonder, does anyone in here have used Google SE for your website. If you have, how does it work? HOw does it work with your DB and your entire webiste? Please let me know. Thanks for your helpful information.

chilipie
09-28-2004, 08:04 PM
Go to http://www.google.com/searchcode.html and basically copy and paste the code into your web page. Personally, I'd use a server side based search engine (you can find a good php based one here (http://www.cj-design.com/index.php?content=downloads&page=7)), if your site has large amounts of content and/or is updated often.

Hope that helped. Ol.

ClueLess
09-28-2004, 08:11 PM
thanks for your information. We use classic ASP. Do you know any asp search engine sources?

for example this school website:http://www.ua.edu/search.html
when you search...it just searchs for this website only. That is something we would like to do. any ideas?

i tried the code that google provided...it searchs in google site

chilipie
09-28-2004, 08:17 PM
The code the University of Alamaba used was on the page I gave a link to. You have to set it up to search your domain.

And no, I don't really know any ASP scripting sites as I use PHP for most serverside stuff. Why don't you Google it :p ?

Nightfire
09-28-2004, 09:42 PM
Have a look at www.hotscripts.com

bradyj
09-28-2004, 10:03 PM
Google can search in just your site for free, or you can pay to have the super version:
http://www.google.com/services/websearch.html

Edit: Chilipie already linked to it, you can search within your site:
http://www.google.com/searchcode.html#both

That's what your link has.

mindlessLemming
09-28-2004, 10:28 PM
Using the Google search is a good alternative to your own site search on your 404 page. I use Google to search my site from my 404 page just in case it was my internal search function that led them to the 404 error.
http://leftjustified.net/404.php

Too easy :D

WA
09-28-2004, 10:49 PM
Try my two Internal Google site search scripts:

http://www.javascriptkit.com/script/script2/google_site_search.shtml
http://www.javascriptkit.com/script/script2/google_site_search2.shtml

gsnedders
09-28-2004, 11:04 PM
Using the Google search is a good alternative to your own site search on your 404 page. I use Google to search my site from my 404 page just in case it was my internal search function that led them to the 404 error.
http://leftjustified.net/404.php

Too easy :D

One of those damn 404 things... :D

ClueLess
09-29-2004, 03:29 PM
Thanks all for your information. I appreciate it a lot.
The example site, http://www.ua.edu/search.html: it seems like they have complete control over the header and footer. How can we do that?

I copied the free code from Google site and pasted it to my html page, when I click on the enter button, it goes to Google site. Again, how can have our header and footer on the page?

gsnedders
09-29-2004, 06:40 PM
You can't unless you pay, however, if you goto customized search, and sign-up free for that, then you can have a logo at the top...