Zim

variable for savedate page (when changed)

Asked by Raf Aendekerk

Is it possible to provide a variable for the timestamp of the page so you can display the "last edited on ..." moment in a html template.

I know this one exist: [% page.properties["Creation-Date"] %]
Would be awesome if [% page.properties["LastSaved-Date"] %] or something exist.

I mean: it is just reading out the save-date from the pagefile. Nothing else needs to be updated on the page as the export to html can take this into account by using the template editor to include that variable.

Or can this be done an other way?

thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Zim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) said :
#1

Afraid it is not possible at this moment. Please open a feature request in
the bug tracker, may be easier to implement in the future.

Regards,

Jaap

On Mon, Jun 9, 2014 at 4:46 PM, Raf Aendekerk <
<email address hidden>> wrote:

> Question #249974 on Zim changed:
> https://answers.launchpad.net/zim/+question/249974
>
> Description changed to:
> Is it possible to provide a variable for the timestamp of the page so
> you can display the "last edited on ..." moment in a html template.
>
> I know this one exist: [% page.properties["Creation-Date"] %]
> Would be awesome if [% page.properties["LastSaved-Date"] %] or something
> exist.
>
> I mean: it is just reading out the save-date from the pagefile. Nothing
> else needs to be updated on the page as the export to html can take this
> into account by using the template editor to include that variable.
>
> Or can this be done an other way?
>
> thanks!
>
> --
> You received this question notification because you are an answer
> contact for Zim.
>

Can you help with this problem?

Provide an answer of your own, or ask Raf Aendekerk for more information if necessary.

To post a message you must log in.