How to display the build date in WebHelp Classic?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 18
- Joined: Thu Jan 25, 2018 11:21 pm
How to display the build date in WebHelp Classic?
Post by DrStrangelove »
I'm using WebHelp Classic and want to display the build date (the date the transformation was run) in the html output.
I tried doing the following:
1) On the Transformation Parameters dialog, click New, then enter the parameter name (args.sysdate) and value (${date(yyyy-MM-dd)}).
2) In the ...DITA-templates\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp.classic\plugin_commons.xml file, define the new parameter,
e.g. <param name="args.sysdate"
desc="The system date of the build"
type="string"/>
3) In the dita source file, try <parmname>args.sysdate</parmname> and variations on that. I tried using a dollar sign and curly braces, etc.
4) All I get in the output is some literal string from the dita file, such as "args.sysdate"
How can I render the build date in the transformation output in the easiest way possible?
Thank you in advance.
I tried doing the following:
1) On the Transformation Parameters dialog, click New, then enter the parameter name (args.sysdate) and value (${date(yyyy-MM-dd)}).
2) In the ...DITA-templates\frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp.classic\plugin_commons.xml file, define the new parameter,
e.g. <param name="args.sysdate"
desc="The system date of the build"
type="string"/>
3) In the dita source file, try <parmname>args.sysdate</parmname> and variations on that. I tried using a dollar sign and curly braces, etc.
4) All I get in the output is some literal string from the dita file, such as "args.sysdate"
How can I render the build date in the transformation output in the easiest way possible?
Thank you in advance.
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: How to display the build date in WebHelp Classic?
Hello,
The easiest way to insert the generation date in the WebHelp Classic output is to edit the "webhelp.copyright" parameter in the Transformation Scenario Dialog and use the Current Date Editor Variable (${date(yyyy-MM-dd)}) as its value.
For example set the parameter to:
This way you will obtain the current date at the bottom of the TOC pane.
Regards,
Alin
The easiest way to insert the generation date in the WebHelp Classic output is to edit the "webhelp.copyright" parameter in the Transformation Scenario Dialog and use the Current Date Editor Variable (${date(yyyy-MM-dd)}) as its value.
For example set the parameter to:
Code: Select all
Date: ${date(yyyy-MM-dd)}
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
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