How can I insert the current upload date into the main page or topics?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Fri Jul 16, 2021 11:58 am
How can I insert the current upload date into the main page or topics?
Post by Anna Green »
Hi,
I have a project in Oxygen XML Editor (v 21.0).
I upload the project to webhelp (DITA Map WebHelp Classic (deprecated))
How can I insert the current upload date into the main page or topics?
I know Oxygen has ${timestamp} and ${date(yyyy-MM-dd)} variables. But where can I insert them? Directly to the page?

I have read this page https://www.oxygenxml.com/doc/versions/ ... ables.html. But I did not understand how to insert the variables
I have a project in Oxygen XML Editor (v 21.0).
I upload the project to webhelp (DITA Map WebHelp Classic (deprecated))
How can I insert the current upload date into the main page or topics?
I know Oxygen has ${timestamp} and ${date(yyyy-MM-dd)} variables. But where can I insert them? Directly to the page?

I have read this page https://www.oxygenxml.com/doc/versions/ ... ables.html. But I did not understand how to insert the variables

Regards,
Anna
Anna
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: How can I insert the current upload date into the main page or topics?
Hello,
FIrst of all I want to let you know that the WebHelp Classic plugin for DITA-OT that comes bundled in Oxygen 21.0 has been deprecated and removed from Oxygen distribution starting with version 23. The newly versions of Oxygen includes an enhanced version of DITA-OT plugin: WebHelp Responsive.
We have a customization topic for the WebHelp Responsive output that covers your use case. You can find more details here: https://www.oxygenxml.com/doc/versions/ ... aid-title3
The source files for this customization (Publishing Template) can be found here: https://github.com/oxygenxml/oxygen-pub ... ation-time
We highly recommend you to switch to WebHelp Responsive output format.
If you choose to continue using the WebHelp Classic plugin you need to customize the generated output in order to insert the date and time in your HTML content. The available customization methods are described here: https://www.oxygenxml.com/doc/versions/ ... ssing.html
The editor variables are not useful in your case because they are not being evaluated and expanded in text content. They are evaluated throughout the Oxygen's GUI in places like dialog inputs, data tables, scenario parameter values, etc.
Regards,
Alin
FIrst of all I want to let you know that the WebHelp Classic plugin for DITA-OT that comes bundled in Oxygen 21.0 has been deprecated and removed from Oxygen distribution starting with version 23. The newly versions of Oxygen includes an enhanced version of DITA-OT plugin: WebHelp Responsive.
We have a customization topic for the WebHelp Responsive output that covers your use case. You can find more details here: https://www.oxygenxml.com/doc/versions/ ... aid-title3
The source files for this customization (Publishing Template) can be found here: https://github.com/oxygenxml/oxygen-pub ... ation-time
We highly recommend you to switch to WebHelp Responsive output format.
If you choose to continue using the WebHelp Classic plugin you need to customize the generated output in order to insert the date and time in your HTML content. The available customization methods are described here: https://www.oxygenxml.com/doc/versions/ ... ssing.html
The editor variables are not useful in your case because they are not being evaluated and expanded in text content. They are evaluated throughout the Oxygen's GUI in places like dialog inputs, data tables, scenario parameter values, etc.
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
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)
- ↳ 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