<div dir="ltr">Hello,<br><br>>
I'm not currently able to get this to work with external tools.<br>Have you tried modifying your file with search and replace tools, for instance with Notepad++? It would be very easy to add the ctime line to your files.<br><br>Kind Regards,<br>Gregor<br><br><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Am Di., 4. Feb. 2025 um 22:30Â Uhr schrieb Martin Cuno <<a href="mailto:martin.cuno@posteo.de">martin.cuno@posteo.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you very much! But I'm dealing with existing PmWiki pages that are missing the ctime= attribute. As stated on <a href="https://www.pmwiki.org/wiki/PmWiki/PageFileFormat" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PmWiki/PageFileFormat</a>, 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).<br>
<br>
Thanks! Martin<br>
<br>
<br>
===== Ursprüngliche Nachricht =====<br>
Von: Peter Kay <<a href="mailto:pkay42@gmail.com" target="_blank">pkay42@gmail.com</a>><br>
Am: 04.02.2025, 21:49:22 Uhr<br>
Betreff: Re: [pmwiki-users] Adding ctime=0<br>
<br>
It might not hurt to have an automatic import of flat text files into<br>
PMWiki. E.g., read ctime from the last touched date and if or when it's<br>
changed update to full metadata.<br>
I have run into that before as well, and used a command line perl script or<br>
something to update my files' headers, but that's not practical for<br>
everyone.<br>
<br>
===== Ursprüngliche Nachricht Ende =====<br>
<br>
<br>
<br>
-- <br>
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.<br>
<a href="http://www.avast.com" rel="noreferrer" target="_blank">www.avast.com</a><br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div>