On Thu, Mar 06, 2008 at 04:07:28PM +0100, Peter Bowers wrote:
>    I have no idea if this will conflict with any other markups or whatever
>    out there, but this works:
> 
>      Markup('~~','>~~~','/(?<!~)~~(?!~)/',"$CurrentTime");
> 
>    This is modified very slightly from the ~~~ and ~~~~ markup definitions in
>    scripts/author.php

This will always display the current time, as opposed to the time
when the page is saved.

To get ~~ to generate a date stamp at the time the page is saved, try:

    $ROSPatterns['/(?<!~)~~(?!~)/'] = $CurrentTime;

Pm


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to