• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Implementin the search option in a cd

The cd has Html pages in it. How can i include a search option similar to a site search on the cd?
1 Solution
Point to the CD drive for your search path
A site search is usually implemented using a server side program. Problem with running HTML pages from a CD-ROM is, that there is no server to run any search program on.

The solution is creating a search solution that runs in the browser. Because the HTM Lpages on the CD won't change, you can index the contents in advance, and use that index in a Java applet, ActiveX control or even a Javascript enabled HTML page. What solution you choose depends on your target browser and your own expertise.

Your index should be a list of words, where each word then points to a list of pages that word is used. Again, implementation depends on size of the index, implementation choosen, and your expertise.

When the user of your search app then types in some keywords to search on, you can use the list to obtain a list of URL's that contain the keywords, and present the user with the results.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now