Forum Moderators: phranque

Message Too Old, No Replies

Search Form help needed please

Unsure of scripting/files needed.

         

Twisted Whispers

6:38 pm on Mar 23, 2008 (gmt 0)

10+ Year Member



Hello, I am new to these forums and would appreciated some help if possible.
I do hope that I have the correct section for my question. If not, please accept my apologies first.
I have been a website designer (not a developer) for quite a few years now, mainly as just a hobby for myself.
I am only just now trying to venture further and experiment in trying new aspects of website development.

A friend of mine has asked me if I could design a website for his "small" business and I have agreed to "try" and help out.

He needs a "Search Form" for his website so that visitors can search for items at the touch of a Search button without having to scan the entire website looking for 1 product.
Now, I am not familiar at all with the security side of forms, though I have coded a form on the website in question (which I have uploaded to mine for now for the purpose of testings).
What I need is for someone to tell me exactly what I need for this search form to become a workable search form, so that the visitors get back the results that they are looking for.
What extra files would I need upload to the server and where?
How/where do I add such things as "keywords", if needed.
I believe that I need some sort of "processing" script so that the forms returns the necessary information required.

I have tried other forums, but with no luck on any replies.
I hope someone here can help me figure this out as this is new to me.

Thank you in advance for your time.

Jay

[edited by: phranque at 3:54 am (utc) on Mar. 24, 2008]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

bill

12:14 am on Mar 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld Whispers.

Why not use something like Google Custom Search Engine [google.com] or the Yahoo Search Builder [builder.search.yahoo.com]? Those are pretty simple to implement.

Twisted Whispers

1:11 am on Mar 24, 2008 (gmt 0)

10+ Year Member



OK, thanks Bill.
I checked out the Yahoo Search Builder, which may do the job that I am looking for.
Exactly how does it work though. Adding the code isn't the problem, thats the easy part.
How exactly does it know what to look for. Does it search by "keywords". If so, how.
Does it search by html file?

Lets say I wanted to search for my ink cartridge which happens to be Acme Blue Widget XYZ, I would type in in XYZ and it should give me the correct results, but how does it know where to search. Would I have to have a HTML file listing all the XYZ cartridges?

Thanks for your continued help.

Jay

[edited by: phranque at 4:29 am (utc) on Mar. 24, 2008]
[edit reason] examplified [/edit]

phranque

6:45 am on Mar 24, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], Jay!

the way most searches work efficiently is through indexing.
the simplest way to describe this is that there is a list of all possible words and for each word there is a list of the urls that have been indexed containing that word.
the search engines index basically everything they can find.
therefore they can provide search capability to embed on your site which searches only the subset of indexed pages from your domain.
the WebmasterWorld search forms [webmasterworld.com] are "powered by" the search engines' indexes.
you could implement your own search engine if required (such as on an intranet) and there are several open source search engines you can look at such as ht://Dig [htdig.org] and apache lucene [lucene.apache.org].

kiwibrit

11:29 am on Mar 24, 2008 (gmt 0)

10+ Year Member



I hope the mods allow this comment - but would understand if they do not. I use the Zoom search engine - which is effective, yet flexible. Free for small sites. Good back up by forum and direct from the owner by email. I have no commercial interest - other than being a satisfied customer.

Twisted Whispers

2:17 pm on Mar 24, 2008 (gmt 0)

10+ Year Member



Thanks to phranque and kiwibrit (once again kiwibrit), appreciate both your advice and help.

phranque - Firstly, thank you for the welcome, appreciated.
So as long as my pages are indexed correctly and uploaded in the normal way (dumb question maybe, but couldn't think of anything else LOL).
Would it be also good for the correct "keywords" in the Meta Tags on the appropriate pages?
How do I make sure that my pages are indexed correctly, so that visitors get back the appropriate feedback, if you see what I mean.
Apologies for the continued questions. I just want to make sure that I get this right (everything set up as it should be), as this is pretty much new to me.
Thanks again for the support.

Jay