DocBook to WebHelp Classic Transformation (Deprecated)
DocBook documents can be transformed into several types of WebHelp systems (with or without a feedback section). The WebHelp Classic layout and features are designed for desktop systems and include a familiar classical style. Oxygen XML Author also provides numerous possibilities for customizing the WebHelp Classic output.
WebHelp Classic Transformation Scenario (Deprecated)
To publish a DocBook document as a WebHelp Classic system, follow these steps:
- Click the Configure Transformation Scenario(s) action from the toolbar (or the . menu
- Select the DocBook WebHelp Classic (Deprecated) scenario from the DocBook 4 or DocBook 5 section.
- Click Apply associated.
Result: When the transformation is complete, the output is automatically opened in your default browser.
Customizing DocBook WebHelp Transformation Scenarios
To customize a DocBook WebHelp transformation scenario, you can edit various parameters,
including the following most commonly used ones:
- default.language
- This parameter is used if the language is not
detected in the DITA map. The default value is
en-us
. - clean.output
- Deletes all files from the output folder before the
transformation is performed (only
no
andyes
values are valid and the default value isno
). - l10n.gentext.default.language
- This parameter is used to identify the
correct stemmer that differs from language to language. For example, for English the
value of this parameter is
en
or for French it isfr
, and so on. - use.stemming
- Controls whether or not you want to include stemming search
algorithms into the published output (default setting is
false
). - webhelp.copyright
- Adds a small copyright text that appears at the end of the Table of Contents pane.
- webhelp.custom.resources
- The file path to a directory that contains resources files. All files from this directory will be copied to the root of the WebHelp output.
- webhelp.favicon
- The file path that points to an image to be used as a favicon in the WebHelp output.
- webhelp.footer.file
- Path to an XML file that includes the footer content
for your WebHelp output pages. You can use this parameter to integrate social media
features such as widgets for Facebook™, X™
(formerly known as Twitter), Google Analytics, or Google+™. The
file must be well-formed, each widget must be in separate
<div>
or<span>
element, and the code for each<script>
element is included in an XML comment (also, the start and end tags for the XML comment must be on a separate line). The following code exert is an example for adding a Facebook™ widget:<div id="facebook"> <div id="fb-root"/> <script> <!-- (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); } (document, 'script', 'facebook-jssdk')); --> </script> <div data-share="true" data-show-faces="true" data-action="like" data-layout="standard" class="fb-like"/> </div>
- webhelp.footer.include
- Specifies whether or not to include footer in each
WebHelp page. Possible values:
yes
,no
. If set tono
, no footer is added to the WebHelp pages. If set toyes
and thewebhelp.footer.file
parameter has a value, then the content of that file is used as footer. If thewebhelp.footer.file
has no value then a default Oxygen footer is inserted in each WebHelp page. - webhelp.logo.image.target.url
- Specifies a target URL that is set on the logo image. When you click the logo image, you will be redirected to this address.
- webhelp.logo.image
- Specifies a path to an image displayed as a logo in the left side of the output header.
- webhelp.product.id (available only for Feedback-enabled systems)
-
This parameter specifies a short name for the documentation target, or product (for example, mobile-phone-user-guide, hvac-installation-guide).Note: You can deploy documentation for multiple products on the same server.Restriction: The following characters are not allowed in the value of this parameter:
< > / \ ' ( ) { } = ; * % + &
. - webhelp.product.version (available only for Feedback-enabled systems)
-
Specifies the documentation version number (for example, 1.0, 2.5, etc.). New user comments are bound to this version.Note: Multiple documentation versions can be deployed on the same server.Restriction: The following characters are not allowed in the value of this parameter:
< > / \ ' ( ) { } = ; * % + &
. - webhelp.search.ranking
- If this parameter is set to
false
then the 5-star rating mechanism is no longer included in the search results that are displayed on the Search tab (default setting istrue
). - webhelp.skin.css
- Path to a CSS file that sets the style theme in the WebHelp Classic output. It can be one of the built-in skin CSS from the OXYGEN_INSTALL_DIR\frameworks\docbook\xsl\com.oxygenxml.webhelp.classic\predefined-skins directory, or it can be a custom skin CSS generated with the Oxygen Skin Builder web application.
For more information about all the DocBook transformation parameters, go to http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html.