-
Search Script
I am in need of some type of site search script that enables visitors to search a singular large domain rather than use the Google engine which may prematurely take potential customers away.
Any guidance would be appreciated.
D
-
-
I just did a search and this post came up (2 monther later
)
You can still use google just put "site:yourdomain" before the acutal query, that way no other sites show up. If you want to host a search, then try this:
http://www.javascriptkit.com/script/...se/index.shtml
-
-
There are three ways to go about this:
1. Use google (or another prebuilt script). I recommend this. Much easier, and it'll work well.
2. Create a pseudo search script, that refers to data you create. In other words, you can create a database and type in a few keywords for each page, then have the visitor search and if any keywords match you can return that page as a result. This isn't truly "searching" anything, but just sorta cross-referencing. It's a bit of work to setup, and hard to maintain (having to manually enter keywords-- or perhaps you could make a keyword generator from a page), but it can work out ok.
3. Actually search every page. This is tough. Maybe if you have a database driven site you could search it through the database itself, but if you are actually searching through every page on the site it will just be very slow. Perhaps looking at what google does, that is crawling through every page fairly often to determine keywords-- basically an automated version of (2)-- would work, but it's still difficult.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
Gee, I forgot all about that one! It was a bit ago wasn't it! LOL No worries. Actually those are both excellent ideas. I am transitioning all of my sites from FrontPage to PHP and Mysql database so I will be able to incorporate them.
Thank you both.
D
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks