how to make basic search engine ?

Gateway M320xl notebook
July 19, 2010 at 12:14:33
Specs: win xp, 32 bit laptop
Hi, trying to make search engine for my own website hosted on which use basic html. Just want the search engine script to locate records in my own websites pages, not google? If you can point to right direction would appreciate it?

See More: how to make basic search engine ?

Report •

July 20, 2010 at 11:34:42
Though crude, you *might* try a sort of index file with the uris of your content. For example,

title of page1#keyword1,keyword2,keywordn#uri
title of page2#keyword1,keyword2,keywordn#uri
title of page3#keyword1,keyword2,keywordn#uri

You could parse this file, if any keywords match, post the links as results

<a href="url">title of page</a>

You'd need server side scripting support of some kind - php, perl, asp, etc.

You could *probably* also do the something similar using client side scripting like javascript, but load the index file into a hidden frame or something. When you get a search, parse the frame contents to see if any hits came up.


Report •

July 25, 2010 at 08:18:50
Client side scripting will not help you to create a search engine.
So use Bing Site search Widget:

Freelance PHP Programmer

Report •
Related Solutions

Ask Question