Zoom Front End - CD & Desktop searching without a web serverFor advanced users and software developers Wrensoft has a number of different technical options that are available for adding a search function to a CD, DVD. So you should check that you are using the CD Search solution best suited to your project before starting. While Javascript is a good solution for distributing small sites on CD it is limited in what it can do. In some cases it will be better to use the CGI option for adding a search function to a CD or DVD or for building a desktop search solution. The Zoom CGI option is normally used for searching large web sites but it can be adapted for searching CDs, DVDs and, for example, providing a desktop search solution for colections of PDF files. There are two solutions for running the CGI version of Zoom on a CD / DVD. The 1st solution requires the use of a webserver. See this page for use details about using a webserver on a CD. The 2nd solution is by wrapping the CGI with some front-end software that can provide a user interface for the CGI. It is this 2nd option that is discussed on this page, along with an example application and source code. How the CGI version normally worksNormally the user enters their search request into a HTML form. This information gets sent to the web server software which in turn passes on the encoded data to the search.cgi executable file.
The Zoom search.cgi software looks into the index files and creates the search result, then sends it back to the browser via the web server. This solution can't work on a CD or on the Windows desktop because there is normally no web server available to get the input from the browser and pass the information to Zoom. The Zoom CGI Front EndThe Zoom CGI front end (Zoom FE) is a software application that shows how it is possible to remove the need for a web server. It is mainly aimed at the software developer that wants to include Zoom as part of their solution for CD / DVD searching or developers wanting to build a desktop search solution. However it is functional enough for people to use it directly, without the need for customization. There are enough details for 3rd party developers to build a solution around Zoom or we can customize the solution to meet your exact requirements. Using this front-end, the new diagram will look something like this.
Comparing the two diagrams you will note that the index files remain the same and the search.cgi file remains the same. The browser has been removed and replaced by Zoom FE and the internet is not present becuase we are doing a local search on a CD. Zoom FE Screen shot |
|
Limitations of the Zoom FE demo
This package is only meant to be a demo to show how 3rd party developers can interface with Zoom. It is not a full search solution. It has the following limitations:
- It is Windows only, compiled with VC++ 6 and VS2005 .NET, (but could be ported to Linux and BSD Unix without a great deal of effort)
- It is implemented in the C/C++ language and again in VB.NET. You can choose one or the other, depending on which of the two languages you are more confortable with. (but the concepts of wrapping the CGI apply equally well to all programming languages)
- Categories are not implemented, but would be fairly easy to add.
- Local security settings can make it difficult to directly call a executable file from a browser. So it can sometimes be a better solution to autorun an executable file rather than a HTML file from your CD or DVD.
- You will need to use the search box at the top of the window, and you will need to disable the "second" search form which is normally generated as part of the results page. You can do this from the Indexer's Configuration window (under the "Search Page" tab, select "Do not generate" for "Search form").
Download Zoom FE with C++ Source Code, V1.3.1002 (For Zoom 5 & VS2005)
Download ZoomCGIFrontEnd Version 1.3 (430 KB Zip file)
Download Zoom FE with C++ Source Code, V1.2.1003 (Old version for Zoom 4 & VC++6)
Download ZoomCGIFrontEnd Version 1.2 (287 KB Zip file)
Download Zoom FE with VB.NET Source Code, V1.0
Download ZoomCGIFrontEnd Version 1.0 (708 KB Zip file)
Note: Both the above packages will build similar executables. Only the programming language differs.
Back to other solutions for running a search engine on a CD.


