[pmwiki-users] Adding ctime=0

Gregor Klarič klaric.gregor at gmail.com
Wed Feb 5 00:15:52 PST 2025


Hello,

> I'm not currently able to get this to work with external tools.
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.

Kind Regards,
Gregor



Am Di., 4. Feb. 2025 um 22:30 Uhr schrieb Martin Cuno <martin.cuno at posteo.de
>:

> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20250205/bd6dfe01/attachment.html>


More information about the pmwiki-users mailing list