
What's covered?This tutorial covers the use of ZoomSearch, a search tool from Wrensoft. It has been rewritten for ZoomSearch 6 but still covers earlier versions. Note that these instructions only apply to WebHelp. The method should work with FlashHelp but I have not tested it. ZoomSearch will not work with compiled HTML help in CHM format. ZoomSearch is used on this site and can also be used in conjunction with a RoboHelp project. The instructions here specifically cover setting things up to work in RoboHelp projects but you should be able to adapt them for use with other HTML editing tools. Don't be put off by the length of this tutorial. It covers a number of options and you will only need to set up whichever one you choose. You will therefore skip some of the content. Also you will not need to change all the ZoomSearch screens shown, you just need to be aware of them. |
When I wrote the first version of this tutoral, the WebHelp search in RoboHelp was somewhat lacking. The most common requests for improvements were:
RoboHelp 8 has addressed those requirements and will meet the needs of many users. However, if cannot upgrade or you need any or all of the following features, then you should consider ZoomSearch.
I first came across ZoomSearch when I saw a post on the RoboHelp forums extolling its virtues and a while later I needed a search tool for an intranet. Having looked once before at such search tools, I was immediately impressed by the ZoomSearch interface. It is largely intuitive and where it isn't, there is online help, and behind it all is David Wren who I have found most helpful. You don't need a developer's mindset to use ZoomSearch.
Nearly all the above! The exception is true natural language searches but it does support basic boolean operations (AND, OR, NOT, Wild cards) and phrase searches. (Phrase searches are not available if you are using the javascript method described in this tutorial - don't confuse that with multiple word searches which can be used.)
One of the cool things you can do is have more than one search option. By adding a Search Options page, you can offer the user the ability to search the whole help output, any number of specific areas or an external intranet.
Click here to see ZoomSearch work within RoboHelp. What you will see is a setup that offers multiple search options. In a single search setup, when you click the search button, you would go straight to the page that you see when you click Full Search on the Search Options page.
You may see the redirect page as you are viewing from a webserver rather than an intranet. Putting this demo on the server is the first time I have seen it. You will see I have added the simple "Please wait, search loading" message that appears briefly. The chances are you will not see it in your live system.
Click here to download a working set up (1.3mb) for a single project with a single search.
Click here to download a working set up (1.3mb) for a single project with search options.
Click here to download a working set up (5mb) for merged help.
The downloads contain the source project(s), the generate and publish folders plus the ZoomSearch configuration files.
In this step you set up your source project(s).
The steps needed will vary according to whether you are dealing with one project or a merge and whether you are offering one search or a number of searches.
I strongly recommend that first time around, you work with a dummy project and use the Single Search setup.
Once you have got that working, it really will be much simpler to set up the others. When you are ready to work on your real project, do so with a copy the first time. If you get it wrong, you can simply trash the copy and start again.
Search Type |
Action |
| Single search |
If you are working with merged help, these steps will be performed in the parent project. |
| Search options - Single project |
Now test progress. Just generate the help making sure that in page two of the wizard you deselect the default search button and select the one you created in Step 4. View the generated help and click the Search button. You should see the options and when you click each one, you will see the Please wait, search loading message you created. Nothing more will happen at this stage. |
| Search options - Merged help | Using my method of merging
Now test progress. Generate the parent making sure that in page two of the wizard you deselect the default search button and select the one you created in Step 5. Also generate just the child 1 project. View the generated help and click the Search button. You should see the options and when you click each one, you will see the Please wait, search loading message you created. Nothing more will happen at this stage. Other methods of mergingYou probably have content in the parent project. If that is the case:
Test as in Search options - Single project above. |
In this step you set up the folder(s) in your webhelp output(s).
Skip to Adding the folder(s)
Not everyone working with webhelp publishes the output but to use ZoomSearch, it does make the workflow easier.
What's the difference between generating and publishing?
The idea of publishing is to get the output onto a server from which users can access it. Sometimes this is done by the developers and you just hand them the files from the folder to which you generate. If that is the way you work, then you can publish to your local drive and hand over those files instead, it will make no difference to your developers. Here's what you need to do. If you are working with merged help, you need to repeat steps 2 to 6 in each project.
In the same way that you added a folder in the source project(s), you need to do the same in the published_help folder as this is where ZoomSearch will create the files it requires. This can be done while setting up the ZoomSearch configuration(s) but you might find it easier to do this now using Windows Explorer.
Search Type |
Published Help Folders |
| Single search | Add a sub-folder called search_files to the folder to which you published the help.
In a merged help setup, this will be done under the output from the parent so you will also see the mergedProjects folder. |
| Search options - Single project |
|
| Search options - Merged help | Using my method of merging with Search All and Search Child options
Merged Projects - Other searchesIf you are creating other searches that cross over different projects, you will have to decide on the best structure as it depends on your setup. You might want to keep all the searches in one folder that has a sub-folder for each search. If you have any searches that are specific to a project, then I recommend the results are saved within that project. This is useful if that output will also be used in isolation. |
This section describes Version 6 of ZoomSearch. If you are using Version 5 or earlier, click here for this step.
In this step, you will set up ZoomSearch.
The free version from www.wrensoft.com allows you to search up to fifty pages so work with a suitable size project while you are testing. That gives you the chance to prove to yourself that it really is as straightforward as I describe.
If you have used ZoomSearch before, you will see a big change in ZoomSearch 6. The GUI has been completely redone and it is a huge improvement.
The first thing you need to do is create a configuration file so that all your settings are saved for future use. Go to File > Save As to save the opening default configuration file with your preferred filename. You can call it what you like, I suggest you use the RoboHelp project name. If you are going to need more than one, set up the first one and save it, then use that as the foundation for the others.
Now I will take you through the various ZoomSearch screens with just the information you need to set things up. The first thing you will see is the level of on screen support. Also note the Help button that takes you to good context sensitive help. In addition Wrensoft's site has excellent support and documentation that you can refer to later for more detailed information.
Start Options |
|
Scan Options |
|
Skip Options |
|
Spider Options |
|
Search Page |
|
Results Layout |
Accept the defaults for now. You can only modify the template after creating your first index file so we will look at that later. |
Indexing Options |
|
Limits |
|
Authentication |
|
FTP |
|
Languages |
|
Weightings |
|
Filtering |
|
Categories |
|
Sitemaps |
|
Synonyms |
|
Recommended |
|
Custom Meta Fields |
|
Index Log |
|
Advanced |
Having set up the pages with your options, click Save. You don't want to lose those settings. Each search option that you create will need its own configuration file and the details above will need to be amended for each option you offer.
The Start Options include the Start Directory, Base URL and Output Directory. For ease of explanation, I have shown them below in the order Start Directory, Output Directory and Base URL. That way I can tell you where the first two will be and then explain the relative path between them.
When setting up these paths, browse to the Start Directory and Ouput Directory so that ZoomSearch enters the full correct path. In the examples below, I have only shown the end of the path.
Search Type |
Published Help Folders |
| Single search | Start DirectoryThe start directory is the folder in which ZoomSearch will start its searching. In this tutorial, that is published_help. Output DirectoryThe output directory is where you want the ZoomSearch files to be located. In this tutorial, that is search_files.
Base URLThe relative path between those two is ../ |
| Search options - Single project | Start DirectoryThe start directory is the folder in which ZoomSearch will start its searching. In this tutorial, that is published_help for the full search. For other searches it could be:
Output DirectoryThe output directory will be one of the directories you created within search_options.
Base URLWhere the start directory is published_help, the relative path between the start directory and the output directory is ../../ Where the start directory is a lower level directory, the relative path will start ../../ and then show the path from there to the required folder. For example ../../folder_one (Not shown here). |
| Search options - Merged help | Using my method of merging with Search All and Search Child optionStart DirectoryThe start directory is the folder in which ZoomSearch will start its searching. In this tutorial:
Output DirectoryThe output directory will be
Base URLFor the searches in the child_1 project, the relative path between the start directory and the output directory is ../../ For all other child projects the relative path will be ../ Merged Projects - Other searchesFollow the principles above. Sorry but it depends on where you search starts and where the results will be stored. Without knowing that, I cannot say what your relative path will be. |
Here we create the search database(s).
On the ZoomSearch Start Options page, make sure you have opened the correct configuration file, click Start Indexing and sit back, not for long though unless you have a really heavyweight target!
Go to the log tab and tick just the Indexing box. Look at the files searched. Anything you do not want in the results? If there is, go back to the skip list and edit it, then run the indexer again.
You need to run each configuration file and make sure the output has gone to the intended location. Then test each option is only returning what you planned.
If you need to generate a number of configurations, James Reinhard very kindly sent me a batch file that he developed in consultation with Wrensoft. Download this text file in which James has put all the information you need.
If you only have a single search, skip this step.
Otherwise, you now need to go back to the source projects and add redirect meta tags to all the redirect topics your created. Those are the ones with Please wait, search loading in them. The redirect is shown below with a green border.

When the links on the Search Options page are clicked, this topic starts to open but immediately sees the meta tag and opens the file specified there instead.
You can amend the appearance of the default page. In the search.html page that ZoomSearch creates, you will find some embedded styles. They are explained here.
http://www.wrensoft.com/zoom/support/css.html
Remember, because you are using a tool external to RoboHelp, the search data is not automatically updated when you generate and publish. You have to remember to update the search when you update your output(s).
If you have a search that covers all topics and you then only deliver some of the child projects the search will include topics that you have not delivered and the user will get a page not found option. Oops! The search data will need to be created again so that it does not include the details of the modules not delivered.
If you have found this tutorial useful and it has saved you a lot of time figuring it out for yourself, please consider making a small donation.
![]()
Date |
Changes to this page |
| 05 Sep 2009 | Some additional features of ZoomSearch added. Minor formatting corrections. |
| 01 Sep 2009 | Minor corrections. |
| 31 Aug 2009 | Extra screenshots added and steps made clearer. |
| 25 Aug 2009 | Reworked to cover multiple search options workflow. |
| 22 Aug 2009 | Topic rewritten to cover ZoomSearch 6. |
| 13 May 2009 | Topic rewritten. |
| 30 Aug 2008 | Generating muliple ZoomSearch Configurations added. |
| 11 Jan 2007 | New topic. |