[pmwiki-users] Adding ctime=0
Martin Cuno
martin.cuno at posteo.de
Tue Feb 4 13:07:00 PST 2025
Thank you very much! But I'm dealing with existing PmWiki pages that are missing the ctime= attribute. As stated on https://www.pmwiki.org/wiki/PmWiki/PageFileFormat, only the two attributes "version=" and "text=" are required. I've already imported a few things and was happy that the other attributes were added when I first saved. But unfortunately not the ctime= attribute. Hence my suggestion - perhaps only Petko knows: Can't the ctime attribute be added as well? So if PmWiki notices that this attribute is missing, it could even use the oldest "time" attribute, or "now", or ctime=0 (January 1, 1970).
Thanks! Martin
===== Ursprüngliche Nachricht =====
Von: Peter Kay <pkay42 at gmail.com>
Am: 04.02.2025, 21:49:22 Uhr
Betreff: Re: [pmwiki-users] Adding ctime=0
It might not hurt to have an automatic import of flat text files into
PMWiki. E.g., read ctime from the last touched date and if or when it's
changed update to full metadata.
I have run into that before as well, and used a command line perl script or
something to update my files' headers, but that's not practical for
everyone.
===== Ursprüngliche Nachricht Ende =====
--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com
More information about the pmwiki-users
mailing list