Re: Adding ctime=0

Gregor Klarič <[email protected]> Wed, 5 Feb 2025 09:15:52 +0100
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <CA+whS2LaN5EPBMNxRoYM75mE4ft0Cu3G5aNmy6T5pyJ6OgJQiA@mail.gmail.com>
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 <[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
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users