Practical Magic:
NEIL PERLIN |
|
| WinHelp is officially
dead. Nevertheless, many companies still use WinHelp for their online help
and reference manuals because of its simplicity and battle-testedness.
However, the market is starting to move beyond WinHelps older design
and coding style, which means that more and more WinHelp developers are
starting to convert their material to HTML-based help formats.
If youre new to HTML, the transition can be intimidating. But todays authoring tools are so good that the mechanics of the conversion are often a snap. The complexity, if any, often lies in areas like design and legacy coding problems. This column focuses on these problems, specifically:
When I discuss tools, I focus on major help authoring tools – RoboHelp and ForeHelp. Theres a growing debate over replacing such tools with web authoring tools like DreamWeaver. Ill touch on this where appropriate in this column. However, the subject of replacing help authoring tools with web authoring tools could be a column all its own. For more information and to get a sense of the arguments, see the eGroups archives at www.egroups.com/messages/HATT/. The Beyond the Bleeding Edge stem of the STC annual conference will also offer a presentation on the subject, currently scheduled for Tuesday, May 15. |
|
Conversion Mechanics |
Mainstream help authoring tools make the conversion mechanics
simple.
If the WinHelp projects code is clean (no kludges or creative coding), the conversion should go about as smoothly as the previous bullets suggest. However, given the history of many WinHelp projects, that may not be the case. You may encounter two types of problems:
How you handle such problems depends on your conversion goal - whether youre converting to HTML once or repeatedly. |
Conversion Goals and Legacy Coding Problems |
Your conversion goal will affect the design, your handling
of legacy code problems, and perhaps even staffing decisions. There are
two possible goals - support WinHelp while converting to and supporting
HTML, or convert to HTML and abandoning WinHelp.
Supporting WinHelp and HTML-Based HelpYou might do this for a standalone online documentation project like an insurance policy manual used by people on a variety of platforms including WinHelp. In this case, you have to convert every time you modify the material, so youll want a simple design and structure that converts as predictably and cleanly as possible in order to avoid having to waste time fixing the same errors or making the same modifications each time you convert. There will always be some clean-up, especially for the design (discussed below) no matter how carefully you work, but you want it to be minimal. An irritating time-waster is to perform a conversion, find a code problem, spend time fixing it, and then discover that its immaterial because users dont see the effect. For example, the WinHelp compiler (used by RoboHelp Classic, ForeHelp Classic, and other help authoring tools) displays an error message if the WinHelp contains a table with cell borders. Several types of formatting can produce the actual error message, and you may spend a lot of time trying to fix it only to find that users dont even notice the problem. (Its even more irritating to waste time like this and then find that, because theres no project documentation, your predecessor did the same thing. Always try to create a project spec to help your sucessor avoid repeating your mistakes.) If there are legacy code problems, its more efficient to fix them in the WinHelp to eliminate their recurring each time you convert. Depending on the complexity of the problems, it may be worth the expense to bring in a consultant whos familiar with your help authoring tool but who can also work at the code level to fix the problems for good. Moving to HTML and Abandoning WinHelpYou might do this if youre working on a help system and want to update its look and/or features as the application is updated. Or you might need to create online material that can be viewed on a variety of platforms in addition to Windows. In this case, you can largely ignore the WinHelp side (unless youre getting a fatal error), convert the material to HTML, and do all your clean-up in the HTML. Because youll only convert once and modify the material in HTML from then on, conversion predictability is less important. Obviously you want a simple and clean conversion, but youll only have to deal with any problems once. Depending on the complexity of the problems, consider hiring a consultant who knows your help authoring tool but who can also work directly in the HTML to fix the problems once and for all. If you do this, however, be sure to specify what tool and version the consultant should use, for two reasons:
|
Design Issues In Conversion |
Design may also be a problem when you convert to HTML. Unfortunately,
there are not always direct equivalents between features in WinHelp and
HTML. Some features convert cleanly, but others do not convert cleanly
or at all. If this is a problem, youll have to decide if the missing
features are important enough for the helps functionality or usability
to justify the effort needed to recreate them or find substitutes. Some
examples:
Whether or not youll encounter such problems depends on the WinHelp file. The easiest way to find out is to create a test project. |
The Test Project |
The easiest way to learn what problems you can expect is to
actually run the conversion. To do so, compile the file in your help authoring
tool as a final check for WinHelp errors. Then convert to HTML using your
authoring tools conversion feature and see what the result looks like.
This approach is realistic but it has a problem. If the WinHelp file is large or complex and youre new to HTML, it may be difficult to figure out exactly what youre looking at and relate it back to the original WinHelp. The solution is to create a little test project that simulates the real WinHelp and use it to see how well the design comes across, plus look for any legacy coding errors. There are several ways to create a test project, but they all require you to create a set of topics that offers a representative sample of the design features. To do so, first review the WinHelp and make a list of the features it contains. At a minimum, these will be standard features like the menu and button bars, jumps and popups, and so on. It may also include such things as customization of the menu and button bars, macros, graphics, non-scrolling regions, secondary windows, and so on. This is the list of features that you need to either reproduce or eliminate in the HTML. Then, you can either:
However you do it, creating and working with the test project will give you a very good idea of the problems youll encounter in the real thing. |
Single-Sourcing Considerations |
Until recently, conversion basically meant converting WinHelp
to an HTML-based help format. If you only need HTML-based help, this approach
is still okay. However, the term online can now refer to web-based
help plus a web site designed to run on a standard monitor or laptop
screen or a 3 handheld screen or a 1 web-enabled
cell phone screen, with more new display formats on the way. Because you
dont want to have to recode and revise your material for each display
format, you want single-sourcing (aka repurposing or dynamic content management).
Since HTML or XML are at the root of all these formats, you want to be using standard code with no proprietary features. Unfortunately, the mainstream help authoring tools can add proprietary codes to their HTML files, which can cause trouble later when you convert to XML or other languages such as WML. Therefore, before converting any WinHelp to HTML, determine what your companys strategic direction is for online material and make sure that you convert to HTML in a way and using a tool thats as flexible and non-proprietary as necessary. |
| Neil Perlin has 22 years experience in technical writing, with 16 in development, consulting, and training for various types of online documentation and tools including WinHelp, HTML Help, CE Help, RoboHelp, and some now known only in legend. Neil writes about online documentation, speaks to computer societies, the STC, and other groups, and is a senior member of the Boston chapter of the STC. He offers training, consulting, and development for various types of online documentation, XML, and the wireless web through Hyper/Word Services of Tewksbury, MA. You can reach Neil at nperlin@concentric.net and www.hyperword.com. | |
|
Resources & References Home Spring 2001 (Volume 4, #2) Copyright © 1998, 2002 Society for Technical Communication |
|