AI Positron - Looking for suggestion on <critdates>
Oxygen general issues.
-
- Posts: 8
- Joined: Tue Apr 22, 2025 4:35 pm
AI Positron - Looking for suggestion on <critdates>
Hi,
I am preparing a custom AI Positron action JSON file for including metadata. I want to know if there is any way to update the <created> and <revised modified> dates for <critdates> from Git history or Oxygen XML topic properties. Any help on this would be great. Thanks!
I am preparing a custom AI Positron action JSON file for including metadata. I want to know if there is any way to update the <created> and <revised modified> dates for <critdates> from Git history or Oxygen XML topic properties. Any help on this would be great. Thanks!
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: AI Positron - Looking for suggestion on <critdates>
Hi,
Oxygen has support to expand a number of editor variables, they are documented here:
https://www.oxygenxml.com/doc/versions/ ... ables.html
For example the editor variable expands to the current date with the specified pattern.
And inside AI actions you can use parameters which can use Oxygen editor variables as values, I added a sample action here:
https://github.com/oxygenxml-incubator/ ... rolog.json
So maybe obtaining the current system date will be useful to you, we do not have editor variables or functions to access Git related properties.
Regards,
Radu
Oxygen has support to expand a number of editor variables, they are documented here:
https://www.oxygenxml.com/doc/versions/ ... ables.html
For example the
Code: Select all
${date(yyyy-MM-dd'T'HH:MM)}
And inside AI actions you can use parameters which can use Oxygen editor variables as values, I added a sample action here:
https://github.com/oxygenxml-incubator/ ... rolog.json
So maybe obtaining the current system date will be useful to you, we do not have editor variables or functions to access Git related properties.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 8
- Joined: Tue Apr 22, 2025 4:35 pm
Re: AI Positron - Looking for suggestion on <critdates>
Thanks, Radu. Do we have any option to pull the created date from Oxygen topic properties itself?
For the new topics, we can use the current date for created as well as revised. But for the existing topics, adding the created date value manually will definitely consume a lot of time.
For the new topics, we can use the current date for created as well as revised. But for the existing topics, adding the created date value manually will definitely consume a lot of time.
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