WebHelp Output

DocBook 5 documents can be transformed into WebHelp systems, such as:

WebHelp Output

To publish DocBook 5 to WebHelp, follow these steps:
  1. Click Configure Transformation Scenarios.
  2. Select the DocBook WebHelp scenario from the DocBook 5 section.
  3. Click Apply associated.

    When the DocBook WebHelp transformation is complete, the output is automatically opened in your default browser.

To further customize the out-of-the-box transformation, you can edit its parameters:

WebHelp With Feedback Output

To publish DocBook 5 to WebHelp With Feedback, follow these steps:
  1. Click Configure Transformation Scenarios.
  2. Select the DocBook WebHelp with Feedback scenario from the DocBook 5 section.
  3. Click Apply associated.
  4. Enter the documentation product ID and the documentation version.

    When the DocBook WebHelp with Feedback transformation is complete, your default browser opens the installation.html file. This file contains information about the output location, system requirements, installation instructions, and deployment of the output.

    To further customize the out-of-the-box transformation, you can edit its parameters:
  • use.stemming - Controls whether or not you want to include stemming search algorithms into the published output (default setting is false).
  • webhelp.copyright - This parameter specifies the copyright note that is added in the footer of the Table of Contents frame (the left side frame of the WebHelp output).
  • webhelp.footer.file - You can specify the path to a 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™, Twitter™, 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 to 'no' no footer is added to the WebHelp pages. If set to 'yes' and the webhelp.footer.file parameter has a value, then the content of that file is used as footer. If the webhelp.footer.file has no value then the default Oxygen footer is inserted in each WebHelp page.
  • 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 is fr, and so on.
  • webhelp.logo.image - Specifies a path to an image displayed as a logo in the left side of the output header.
  • 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.search.ranking - If this parameter is set to false then the relevance stars are no longer included in the search results displayed on the Search tab (default setting is true).
  • webhelp.product.id - This parameter specifies a short name for the documentation target, or product (for example, mobile-phone-user-guide, hvac-installation-guide). You can deploy documentation for multiple products on the same server.
    Note: The following characters are not allowed in the value of this parameter: < > / \ ' ( ) { } = ; * % + &
  • webhelp.product.version - This parameter specifies the documentation version. New comments are bound to this version. Multiple documentation versions can be deployed on the same server.
    Note: The following characters are not allowed in the value of this parameter: < > / \ ' ( ) { } = ; * % + &/>

For further information about all the DocBook transformation parameters, go to http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html.

To watch our video demonstration about the feedback-enabled WebHelp system, go to http://oxygenxml.com/demo/Feedback_Enabled_WebHelp.html.

WebHelp Mobile Output

To generate a mobile WebHelp system from your DocBook 5 document, follow these steps:
  1. Click Configure Transformation Scenarios.
  2. Select the DocBook WebHelp - Mobile scenario from the DocBook 5 section.
  3. Click Apply associated.
    To further customize the out-of-the-box transformation, you can edit its parameters:
    • use.stemming - Controls whether or not you want to include stemming search algorithms into the published output (default setting is false).
    • webhelp.copyright - This parameter specifies the copyright note that is added in the footer of the Table of Contents frame (the left side frame of the WebHelp output).
    • 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 is fr, and so on.
    • webhelp.footer.file - You can specify the path to a 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™, Twitter™, 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 to 'no' no footer is added to the WebHelp pages. If set to 'yes' and the webhelp.footer.file parameter has a value, then the content of that file is used as footer. If the webhelp.footer.file has no value then the default Oxygen footer is inserted in each WebHelp page.
When the DocBook WebHelp - Mobile transformation is complete, the output is automatically opened in your default browser.
Related information
WebHelp Output