"Search site" script needed

SpaceshipSpaceship
Watch

Gene

Gene PimentelTop Member
Impact
487
I'm having a difficult finding a real simple SEARCH script for a product web site. I simply need to allow customers to enter a search word, and the script should look through every html page within one directory of the site (which contains possibly 200 small html pages). Then post a list of the pages that contain their keyword.

Any recommendations?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Gene - Please PM me know files names that you want to not included and I can fix that part.

Second, yes I can make it say something with a back button when no results are found just let me know what phrase you would like to use.

Third, yes I can use the meta tag line as the description linking back to the file.

I will have these things completed and back to you as soon as possible. I am very glad that its working for you.

Josh


Gene said:
We're almost there! It is working now... I had an error in the search page. It's now fixed.

Now -- to make it more user friendly, can we have it list a DESCRIPTION instead of the file names? Maybe by using a meta tag line?

And -- Can we exclude certain files that reside in that directory?

Last but not least -- if no search results are found, can we have it say something (with a "back" button) rather than just getting a totally blank page?

If we can accomplish this, I will send you at least 500 NP.

Thanks for all your help.

Gene
 
0
•••
Gene - Updated code has been PM'd. Test and let me know. I still need to add the meta part which I am working on now. Let me know if it tests ok. Thanks!!
 
0
•••
Working perfectly so far!
 
0
•••
Gene - PM'ed ya with the complete code with meta. Please let me know how it tests.
 
0
•••
BetterHosting said:
Have you cosnidered using Google site search? I recently set it up on a website and it works perfectly and also gives you a chance for a commission.

I was going to suggest the same. Use Google for search.
 
0
•••
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back