Edit online

DITA to WebHelp with Oxygen Feedback: From Authoring to Publishing

This topic guides you through the entire workflow of editing a DITA publication, generating WebHelp Responsive output, and integrating Oxygen Feedback. You can choose between Oxygen Feedback Cloud (SaaS) or Oxygen Feedback Enterprise (self-hosted) for your feedback integration.

Prerequisites

  1. DITA Content Preparation:
    • A DITA map file (.ditamap) and associated resources (e.g. .dita/.xml topic files, images).
    • Access to Oxygen XML Editor or Oxygen XML Author.
  2. Feedback Integration:

Workflow Overview

  1. Edit the DITA Publication:
    • Open and edit the DITA map and topics in Oxygen XML Editor/Author.
  2. Generate WebHelp Responsive Output:
    • Use the WebHelp Responsive transformation scenario in Oxygen.
  3. Integrate Oxygen Feedback:
    • Embed the Feedback HTML fragment into your WebHelp Responsive transformation scenario.
  4. Deploy WebHelp on an HTTP Server:
    • Copy the WebHelp output to an HTTP server to make it accessible online.
  5. Access the Published Output:
    • Open the WebHelp output in a browser with Oxygen Feedback enabled.

Step 1: Open and Edit the DITA Publication

Procedure
  1. Launch Oxygen XML Editor or Oxygen XML Author.
  2. Open the DITA map file (.ditamap) via the Project view or File > Open.
  3. Edit topics as needed:
    • Use Text mode for direct XML editing.
    • Use Author mode for a visual, WYSIWYG-style interface.
  4. Save all changes.

Result

The DITA map and associated topics are updated and ready for publishing.

Learn more:

Step 2: Generate WebHelp Responsive Output

Procedure

You can generate WebHelp Responsive output either from Oxygen XML Editor/Author or by using the command line with the Oxygen Publishing Engine.

Option 1: From Oxygen XML Editor/Author
  1. Open the DITA Map WebHelp Responsive transformation scenario in Oxygen XML Editor/Author.
  2. Configure the transformation:
    • In the Output tab, specify the local folder where the WebHelp output files will be saved.
    • In the Feedback tab, paste the HTML fragment that is obtained during the Feedback site configuration process.
  3. Run the transformation scenario.
Option 2: From the Command Line
  1. Install the Oxygen Publishing Engine on your machine. Refer to the Getting Started Guide for installation instructions.
  2. Prepare the Feedback installation fragment:
  3. Use the following command to generate WebHelp Responsive output, specifying the path to the Feedback fragment file with the webhelp.fragment.feedback parameter:
    dita.bat -i path/to/your.ditamap -f webhelp-responsive \
             -o path/to/output/folder \
             -Dwebhelp.fragment.feedback=path/to/feedback-fragment.xml
    Replace the paths with your actual file locations:
    • path/to/your.ditamap - The path to your DITA map file.
    • path/to/output/folder - The folder where the WebHelp output will be saved.
    • path/to/feedback-fragment.xml - The path to the XML file that contains the Feedback fragment.

Result

The WebHelp Responsive output (HTML5 files and associated resources) is generated:

  • If using Oxygen XML Editor/Author, the output is saved in the folder configured in the transformation scenario, and the main page of the output opens in the default browser.
  • If using the command line, the output is saved in the directory specified in the -o parameter.

Learn more:

Step 3: Integrate Oxygen Feedback

Procedure
  1. Oxygen Feedback Cloud:
  2. Oxygen Feedback Enterprise:
  3. Embed the HTML fragment into the Feedback tab of the WebHelp transformation scenario.

Result

The Feedback HTML fragment is successfully embedded into the WebHelp Responsive transformation scenario, enabling commenting functionality in the output.

Learn more:

Step 4: Deploy WebHelp on an HTTP Server

Procedure
  1. Transfer the WebHelp output (HTML5 files and resources) to an HTTP server (e.g. Apache HTTPD, NGINX).
  2. Ensure the server is configured to serve the WebHelp content via a URL using http or https.
Important Notes:
  • The WebHelp content must be accessible via the internet or local network using a URL (e.g. http://server-name/...).
  • The Oxygen Feedback component will only function when accessed via an HTTP(S) URL. It will not be displayed properly when opening files directly from a local system (file:// URLs).
  • This step must be performed by a System Administrator with access to the organization’s servers.

Result

The WebHelp Responsive output is deployed on the HTTP server and accessible through a browser using the associated URL.

Step 5: Access the Published Output

Procedure
  1. Open a web browser and access the WebHelp output using the server’s URL.

Result

The WebHelp content is displayed, and the integrated Oxygen Feedback component (e.g. comment sections) is functional and visible.

Additional Resources

By following this workflow, you can seamlessly author, publish, and integrate Oxygen Feedback into your WebHelp Responsive output, ensuring an interactive and accessible user experience.