Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Congratulations for your great site. This site helped me more than university..."

Geography

Where in the world do Tek-Tips members come from?
mazzystar (TechnicalUser)
11 Feb 02 14:50
Hey there,
A client who uses Front Page has asked me if it is possible to set up a keyword search feature for their website so visitors can input a keyword and get a list of all pages where that keyword appears.

Is there a simple way of doing it?

zephan (Programmer)
12 Feb 02 4:35
The simpliest search engine I saw is enough complicated to implement with PHP, but easy to understand.It's composed of 3 scripts : an indexer, a form for submiting keywords and a script for extracting and viewing the results. I will look into the script and give you the url when you can find it.
I can explain to you later. The comments are in french.

An indexer is a program that seeks all the html files within a directory and put all key words in a database (wich can be a text file). These keywords are pointing to webpages that contain them (sometimes its reverses : entries of the tables are the filepaths and contents are the keywords).
The indexer is launched periodically (e.g. once a day at 03:00 am). It scans all the file content, strip HTML tags and scripts, skips unsignificant words such 'do', 'the', 'with'. It stores the results in the database.

Some indexers just considere the title and META TAG 'keywords', assuming that they exist.

http://www.echodelta.net/scriptsphp/moteured/moteured10php.zip
onlinexpert (Programmer)
29 Mar 02 4:02
The most simplest way to do it is by registering the site with google, let all pages get indexed. Then you can request google to allow a link (google) in your site with a search within a site link.
Wullie (Programmer)
31 Mar 02 16:58
Hi mate,

There are loads of good search scripts out there..

Just take a look at www.scriptsearch.com or other similar sites and you are guaranteed to find one to suit your needs.

If you don't have cgi or php on the server then you will likely have to use an external site to provide you with the search.

I personally could do this for you from my search site if you need it..

Hope this helps

Wullie

www.freshlookdesign.co.uk
www.searchit-now.co.uk
www.survivorhelp.co.uk

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close