Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
Search Engine (0 Comments)
Admin: Posted Date: April 4, 2010

Search Engine is a PHP tool for anyone that wants to add search functionality to their website, but does not have the technical background or server means to do so. As long as your site is on Google's index the search ability will be present for users.

Search Engine Script - Put Search Functionality On Your Website

This tool is for anyone that wants to add search functionality to their website, but does not have the technical background to do so. It utilizes Google to do the "heavy lifting", so you do not need a database on your server or run processes to keep your site indexed. So basically, if your site is in Google's index, it will work for you.

There are two requirements to use this tool:

  • Your web server needs to be PHP enabled
  • You need a free Google API key.
                            


How does this work?

In simple terms, it's done with Google SOAP/XML API, which is free for people to use for non-commercial use. A few interesting things to note...

This system will work with any language/character set. Google mentions on their API site, that Japanese, Korean and Chinese language searches don't work properly. Well, after investigating, the problem is with the supplied SOAP client, not the Google backend, so we wrote our own SOAP client from scratch (which works for all languages).

Most SOAP clients for PHP require that you recompile PHP, the way we set it up is the system goes through our web server for the complicated programming stuff. That way you don't need to recompile PHP, or even understand how SOAP/XML work. Even though the requests go through us, it's solely for the purpose of making it easy on you. We do not record or log your API key, what you are searching for, etc. We have no desire to be "big brother".

 

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: