AI Positron - Looking for suggestion on <critdates>

Oxygen general issues.
Subathra
Posts: 7
Joined: Tue Apr 22, 2025 4:35 pm

AI Positron - Looking for suggestion on <critdates>

Post by Subathra »

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!
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: AI Positron - Looking for suggestion on <critdates>

Post by Radu »

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

Code: Select all

${date(yyyy-MM-dd'T'HH:MM)}
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply