Process PI in webhelp footer

urbanrobots
Posts: 84
Joined: Sun May 03, 2015 7:34 pm
Location: San Francisco

Process PI in webhelp footer

Post by urbanrobots » Fri May 18, 2018 8:13 pm

Hi,
We have a processing instruction from our CMS that includes the last edited date of the file. These appear in the DITA temp files but I cannot figure out how to process these as a value that appears in the webhelp footer. I know how to parse the PI, but not where to include this logic in the webhelp plugin.

In Oxygen Webhelp v19, which file / template do I update to add this information?

Thanks!
- Nick

radu_pisoi
Posts: 350
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Process PI in webhelp footer

Post by radu_pisoi » Mon May 21, 2018 4:35 pm

Hi,

For this use case, you need to develop a WebHelp Responsive extension plugin.

The extension plugin can use the XSLT-Import extension points, allowing you to extend the XSLT stylesheets that generate the HTML files.

Example:

Code: Select all


<plugin id="com.oxygenxml.webhelp.responsive.extension">
<feature extension="com.oxygenxml.webhelp.responsive.xsl.dita2webhelp"
file="xsl/fixup.xsl"/>
</plugin>
See all WebHelp Responsive XSLT-Import and XSLT-Parameter Extension Points in our documentation.
https://www.oxygenxml.com/doc/versions/ ... mport.html

See also an example: Customizing Main Page Using XSLT-Import/Parameter Extension Points
https://www.oxygenxml.com/doc/versions/ ... ample.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply