Click to See Complete Forum and Search --> : web site on CD. search engine possible?
asg_webdev
04-22-2003, 10:21 AM
I am new in Wev dev.
I have developed a web site that would be published on CD ROM, and there are lot of html pages. I want to put a search engine on it. Can I put a search engine on CD-ROM site? If yes, please help me to find a free
script for it.
Thanks in advance.
Probably not because it has to be server-side to see all the files and although it's not on the server, Javascript does not have permission to view all files/folders without ActiveX.
AdamGundry
04-22-2003, 10:52 AM
You could use a client side "search engine" written in Javascript, which basically matches the word entered to a predetermined list then redirects to the correct page.
Try the "search your own site" scripts here:
http://javascriptkit.com/script/cutindex14.shtml
Adam
That wouldn't be automated, though, Adam--Would it? :p That code there confused me--I couldn't tell if it was the banner code or not. ;)
AdamGundry
04-22-2003, 11:07 AM
No, all such scripts I've seen basically get you to enter a list of keywords and a URL, then when the user enters a word it is compared (usually via a regular expression) to the words, and if a match is found you are redirected/it shows a message.
Rather limited, but it is something, I suppose.
Adam
I'd say quite limited, especially in comparison with a sever-side language (unavailable in this situation, unfortunately), such as PHP with a built-in function that displays the percentage of relevance.
asg_webdev
04-22-2003, 11:26 AM
Thanks all of you for the kind attention!
Here I wish to tell taht if you see Dreamweaver or Flash
help menu, all help pages written in html pages, there is search option, how it has been created? (sorry for poor english)
Thanks a lot all of you.
Those are .chm files: Compiled HTML files, also known as Help files. You will need an HTML compiler (try searching Google.com for it) to make this type of file. However I'd like to point out that this will not search the HTML pages inside the CD, only the COMPILED HTML pages that are compiled with the compiler.
David Robins
04-23-2003, 08:46 PM
I think you may be on the wrong track with Javascript
for this function . I also looked at providing a search engine
on a website CD , and concluded that without being able to
guarantee access to a CGI search engine then I would have to use an incorpoarted JAVA search engine. Here is a link to a few freeware and commercial ones , some state they will
work offline for this function , although there may be page
limitations <25 pages on some.
http://freewarejava.com/applets/search.shtml
Good luck, post if you find a good one.