Create META tag in published HTML
Post here questions and problems related to editing and publishing DITA content.
-
IanMayo
- Posts: 13
- Joined: Thu Jun 08, 2023 6:46 pm
Create META tag in published HTML
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.
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.
-
julien_lacour
- Posts: 750
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Create META tag in published HTML
Post 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
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
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service