First item in topic <head>
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 118
- Joined: Mon Apr 19, 2010 5:33 pm
First item in topic <head>
Hello,
For webhelp output, I am in need to place a meta tag as the very first item in the <head> of a topic:
<head><meta NEED TO INSERT HERE /><meta name="description"...
OF course, this would have to occur in each topic, but I cannot locate any place in dita2webhelp.xsl.
Can anyone please point to the correct location to make this happen?
For webhelp output, I am in need to place a meta tag as the very first item in the <head> of a topic:
<head><meta NEED TO INSERT HERE /><meta name="description"...
OF course, this would have to occur in each topic, but I cannot locate any place in dita2webhelp.xsl.
Can anyone please point to the correct location to make this happen?
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: First item in topic <head>
Post by radu_pisoi »
Hi,
Could you give us more details about your situation?
What version of oXygen are you using? What type of Webhelp are you trying to customize (Webhelp Classic or Webhelp Responsive)?
Could you give us more details about your situation?
What version of oXygen are you using? What type of Webhelp are you trying to customize (Webhelp Classic or Webhelp Responsive)?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: First item in topic <head>
Post by radu_pisoi »
A solution is to modify the stylesheet:
This stylesheet is designed to filter/fix the original content produced by DITA-OT. So, in this stylesheet you can search for the 'generateHeadContent' template which is responsible for generating the head of every HTML page. Please modify this template in order to add your additional meta tag.
Please change {oXygenInstallDir}/frameworks/dita/DITA-OT with {oXygenInstallDir}/frameworks/dita/DITA-OT2x if you are using DITA-OT 2.x for publishing.
Code: Select all
{oXygenInstallDir}/frameworks/dita/DITA-OT/plugins/com.oxygenxml.webhelp/xsl/dita/desktop/fixup.xsl
Please change {oXygenInstallDir}/frameworks/dita/DITA-OT with {oXygenInstallDir}/frameworks/dita/DITA-OT2x if you are using DITA-OT 2.x for publishing.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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