Contents 

Introduction
About chm2web
Key features
Available versions
System requirements
Using chm2web
Using chm2web
Working with Projects
Conversion Options
Version Tab
General Tab
Template Tab
Pre-processing Tab
Style Sheets
Templates
About Templates
Global Variables
Template Body
BODY.INFO
OPEN.FIELDS
CONFIG.MANAGER
No Frames Version
Frames Version
Mobile Version
Template Scheme
TEMPLATE.INFO
OPEN.FIELDS
COPY.FILES
Using old templates
Command Line
Command Line Parameters
Extend Command Line
Context-sensitive help
Compiled help decompilation
Regular Expressions
How to create HTML Help?
Registration
Purchasing and Licensing Issues
Product license information
Why should I register?
About A!K Research Labs
Getting program updates
Getting technical support
Our products
Contacting A!K Research Labs
Copyright

chm2web Web Online Help

Prev Page Next Page

Preprocessing Tab


Use 'Pre-processing' tab settings to perform custom processing of all help system pages during conversion.

To activate pre-processing of online help system pages check the 'Use page pre-processing' box and set the following options:

  • Delete all data before given sub-string - set this option if you would like to delete all text from the beginning of html file to the first sub-string occurrence in the text. If you check the 'Use regular expressions' box then instead of specifying a sub-string you should enter a regular expression. Regular expressions syntax can be found in 'Regular Expressions' section of help. Set the 'Including sub-string' option to make chm2web delete text from the beginning to the first occurrence of a sub-string including the sub-string itself. There are several common use typical elements removal presets available. To choose a preset, click the 'Preset' button.

  • Delete all data after given sub-string - set this option if you would like to delete all text from the last sub-string occurrence in the text to the end of html file. If you check the 'Use regular expressions' box then instead of specifying a sub-string you should enter a regular expression. Regular expressions syntax can be found in 'Regular Expressions' section of help. Set the 'Including sub-string' option to make chm2web delete text from the last occurrence of a sub-string to the end of html file including the sub-string itself. There are several common use typical elements removal presets available. To choose a preset, click the 'Preset' button.

  • Add page header - check this option to include your custom html code header into each help system page. Html code will be inserted right after the <BODY> tag of a page.

  • Add page footer - check this option to include your custom html code footer into each help system page. Html code will be inserted right before the </BODY> tag of a page. You can use this option to add a page hit counter to each of your online help system pages.

You can add your own presets. An example illustrating how to do that is available in chm2web installation folder (chm2web\Examples\Preset).

   
Converted from CHM to HTML with chm2web Standard 2.7 (unicode)