HTML5 id205BE700XO1
You can create the HTML5 output preset to publish output using DITA-OT and FMPS (If configured by your administrator).
You can create the HTML5 preset in two ways:
Create HTML5 output preset from the Map console
Perform the following steps to create the HTML5 preset from the Map console:
-
Open a DITA map file in the Map console.
You can also access the map file from the Recent files widget in the Overview section. The selected map file would open in Map console.
-
In the Output presets tab, select the + icon to create an output preset.
-
Select HTML5 from the Type dropdown in the New output preset dialog box.
-
In the Name field, provide a name to this preset.
-
In the Generate HTML Using field, select DITA-OT.
-
Select the Add to current folder profile option to create an output preset within the current folder profile. The
Learn more about Manage Global and Folder profile output presets.
-
Select Add.
The preset for HTML5 is created.
In the Map console, the preset configuration options are organized under the General and Advanced tabs.
The General tab contains the following configuration options:
- Output path
- DITA-OT command line arguments
- File name
- Conditional filtering (If the conditions are defined for a map)
- Use baseline (If a baseline is created for a map)
- Post generation workflow
Advanced
The Advanced tab contains the following configuration options:
- Transformation name
- Retain temporary files
- Flatten file hierarchy
- File properties
For details on preset configuration options, refer to the HTML5 preset configuration section.
Create HTML5 output preset from the Map dashboard
Perform the following steps to create the HTML5 preset from the Map dashboard:
-
In the Assets UI, navigate to and select the DITA map to open it in Map dashboard.
-
Ensure that the Output Presets tab is selected.
-
Select Create in the toolbar.
A new output preset creation form is displayed.
-
Enter the required configuration details for the HTML5 preset.
-
Select Done to save the preset settings.
For details on preset configuration options, refer to the HTML5 preset configuration section.
HTML5 preset configuration
Configuration options vary slightly depending on whether you are configuring the preset from the Map console or the Map dashboard. Some options apply only to the Map dashboard, while others apply to both.
In cases where the same configuration has two different field labels, a / separates them in the table below. The first represents the label in the Map console, and the second represents the label in the Map dashboard.
For example, Output path/Destination Path - Here, Output path is the label used in the Map console, while Destination Path is the label used in the Map dashboard for the same configuration.
NOTE: Starting with the 2502 release of Experience Manager Guides, the
generate.copy.outer
parameter is no longer managed internally. This change means that if your HTML5 content resides outside the map directory, you need to explicitly set the parameter -Dgenerate.copy.outer=3
in the DITA-OT Command Line Arguments field. This ensures that the content is correctly processed and included in your output. For more details on handling content outside the map directory, view .Note: If you do not provide a file name, then the DITA map鈥檚 title is used to generate the final HTML5 output file name. If the map does not have a title, then the DITA map鈥檚 file name is used to name is the final HTML5 output. The file name is sanitized using the rules configured in the system to handle any invalid character.
* None applied: Select this option if you do not want to apply any condition on the published output.
* DITAVal file: Select DITAVal file(s) to generate personalized content. You can select multiple DITAVal files using the browse dialog or by typing file path. Use the cross icon near the file name to remove it. DITAVal files are evaluated in the order specified, so the conditions specified in the first file take precedence over the matching conditions specified in later files. You can maintain the file order by adding or deleting files. If the DITAVal file is moved to some other location or is deleted, it is not automatically deleted from the map dashboard. You need to update the location in case files are moved or deleted. You can hover over the file name to view the path in the AEM repository where the file is stored. You can only select DITAVal files and an error is displayed if you have selected any other file type. FrameMaker Publishing Server doesn鈥檛 support multiple DITAVAL files.
* Condition preset: Select a condition preset from the drop-down to apply a condition while publishing the output. The option is visible if you have added a condition present in the Condition Presets tab of the DITA map console. To know more about condition preset, view Use condition presets.
You can select multiple DITAVAL files using the browse dialog or by typing file path. Use the cross icon near the file name to remove it. DITAVAL files are evaluated in the order specified, so the conditions specified in the first file take precedence over the matching conditions specified in later files. You can maintain the file order by adding or deleting files. You need to update the location in case files are moved or deleted. You can hover over the file name to view the path in the AEM repository where the file is stored. You can only save DITAVAL files. An error is displayed if you have selected any other file.
Note: FrameMaker Publishing Server doesn鈥檛 support multiple DITAVAL files.
Note:For more information about creating a custom post-output generation workflow, view Customize post-output generation workflow in Install and configure 51黑料不打烊 Experience Manager Guides as a Cloud Service.
xhtml
. For a list of transformations available in DITA-OT, view in OASIS DITA-OT User Guide.After generating the output, select the Download temporary files
Note: If file properties are added during generation, the output temporary files also include a metadata.xml file containing those properties.
View Work with Baseline for more detail.
If you deselect this option, the output is generated in a nested folder hierarchy, and the entire folder structure is replicated.
Note: You can also pass on the metadata to the output using DITA-OT publishing. For more details view, Pass on the metadata to the output using DITA-OT.
Parent topic:Understanding the output presets