plenusvita
Joined: Mar 05, 2005
# Posts: 61
|
Posted: 05/18/2007 06:58 am
Hi Guys,
I am not very good at building sites - but am learning to do html with Dreamweaver including learning to code.
My question is this - how can I add a search box to search the site for products, etcetera - without the search bringing back everything with that word - if you see what I mean.
Do I need a database driven site or Java code ? Hopefully not as these are well beyond my current limitations.
Many thanks for your help in advance and I look forward to an easy solution !!! I am the optimistic type .
Thanks,
Kev.
[ Message was edited by: bhartzer 05/18/2007 09:06 am ]
|
 |
dudibob
Joined: Oct 13, 2005
# Posts: 1430
|
Posted: 05/18/2007 07:13 am
for a search function, you need at least a dynamic site (php, asp) for it to create a search function (because it's all on the fly, AKA dynamic) and I'm pretty sure a database is needed too.
Both are outside my league too
|
 |
plenusvita
Joined: Mar 05, 2005
# Posts: 61
|
Posted: 05/18/2007 07:14 am
Thanks dudibob - much appreciated - looks like it is going to be a basic site with menu navigation for now at least.
Thanks again for your help.
|
 |
dudibob
Joined: Oct 13, 2005
# Posts: 1430
|
Posted: 05/18/2007 07:38 am
happy to help, if you want to stick with your HTML site, you could always cheat and have a Google search box on your site (think you can get one through adsense) and when people search with it, it does a 'site:yourdomain.com keyword' search.
It looks no where near as good as a personalised search feature but could be useful
|
 |
formerskeptic
Joined: Oct 05, 2001
# Posts: 281
|
Posted: 05/18/2007 07:50 am
I'm pretty sure a database is needed too. Actually, there are some (light weight) php scripts that don't require a database at all. Everything is done on the fly through text files.
You can find lots of free site search scripts on the net. Great place to start with is Hotscripts. Loads of both fee and free scripts to choose from
I am not very good at building sites Give it time. You'll get there
|
 |
formerskeptic
Joined: Oct 05, 2001
# Posts: 281
|
Posted: 05/18/2007 07:54 am
you could always cheat and have a Google search box LOL
Problem with Google though is they take time to spider/index your site for the search to work.
|
 |
plenusvita
Joined: Mar 05, 2005
# Posts: 61
|
Posted: 05/18/2007 08:23 am
Thanks dudibob and formerskeptic - your comments and info were helpful and appreciated.
I will look into those places you recommended and I will persevere with the building of the site in html.
I was thinking about a google search box but as you said it does not look that good - but thanks for thinking of it.
Thanks again and take care.
Kev.
|
 |
formerskeptic
Joined: Oct 05, 2001
# Posts: 281
|
Posted: 05/18/2007 08:27 am
No problem kev.
|
 |
dudibob
Joined: Oct 13, 2005
# Posts: 1430
|
Posted: 05/18/2007 08:28 am
who says you can't learn something new everyday
I forget about the fact that Google doesn't index every site well
|
 |
mj1256
Joined: Jun 05, 2006
# Posts: 809
|
Posted: 05/18/2007 07:28 pm
do you have static html pages
try KSearch
[link]
its a free script, easy to install and run, and for $100 or so, they will install it for you
|
 |
david68
Joined: May 16, 2005
# Posts: 144
|
Posted: 05/19/2007 07:16 am
I once used a Perl/CGI script to search my HTML blogs, worked great - though I forget who wrote it. You called it using a FORM which called the script and it scanned all files using wildcards (*.html or data/*.html etc) and outputted the results. Search google for "perl search script" if you can run CGI. PHP can also be used in the same manor.
A note of caution though - hackers could exploit it if it's not programmed properly... personally I'd try the Google method as already suggested unless you need something more fancy.
|
 |
plenusvita
Joined: Mar 05, 2005
# Posts: 61
|
Posted: 05/19/2007 10:37 am
Thanks guys - much appreciated.
Kev.
|
 |