Page 1 of 1

Create META tag in published HTML

Posted: Fri Nov 14, 2025 12:18 pm
by IanMayo
I'd like to allow an Oxygen DITA author to create a tag that gets propagated through to published webhelp as a meta field in the header content, across all pages.

My author is familiar with controlling `parameters` in the `Edit DITA Scenario` dialog. I'm aware that I should be able to introduce a new parameter, then customise the XSL for the template to include it in published content - but I'm interested in learning if there is a mechanism already built-in to OxygenXML.

Re: Create META tag in published HTML

Posted: Fri Nov 14, 2025 5:46 pm
by julien_lacour
Hello,

The built-in mechanism only lets you use <othermeta> elements to generate additional <meta> tags in HTML output. However, the specification also states that this attribute does not cascade from the map to its topicrefs. This means you can add it to individual topicrefs when only a few topics require it, but that approach becomes impractical if you need to include the new <meta> tag in every topic.

Regards,
Julien