Page 1 of 1

Show topic contributor name and update/create time

Posted: Fri May 18, 2018 11:11 am
by catherine
Hi, I have add the author name, create time and revised time in the prolog element.
Can I set to show the author, update time, create time of all the topics in a webhelp output?

Re: Show topic contributor name and update/create time

Posted: Mon May 21, 2018 4:41 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

<publishing-template>
    ...
    <webhelp>
        ...       
        <xslt>
            <extension
              id="com.oxygenxml.webhelp.xsl.dita2webhelp"
              file="xsl/customDita2Webhelp.xsl"/>
        </xslt>

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: How to Use XSLT Extension Points from a Publishing Template
https://www.oxygenxml.com/doc/versions/ ... mport.html