Page 1 of 1

Process PI in webhelp footer

Posted: Fri May 18, 2018 8:13 pm
by urbanrobots
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

Re: Process PI in webhelp footer

Posted: Mon May 21, 2018 4:35 pm
by radu_pisoi
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