This was given to me by Andreas Luedeke of this parish.
In my elog.cfg file, I have the following:
Preset text = $shell(date '+[%d %b %y]')\n
and this puts at the top of every new thread I make today the following line
[09 Apr 24]
And for the same result for every reply as well, I have in elog.cfg
Prepend on reply = $shell(date '+[%d %b %y]')\n\n----------\n
with the ten dash characters to show the end of the thread, so the reply entry goes above the dashes.
Obviously time, name of day etc can be included by using the strftime codes.
> > This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
>
> but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you
> find the right place, replace .innerHTML with current date?
>
> K.O. |