Re: Adding ctime=0
"Martin Cuno" <[email protected]> Tue, 4 Feb 2025 21:07:00 +0000
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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