[pmwiki-users] meta refresh?
Neil Herber
nospam at eton.ca
Thu Apr 27 07:10:15 CDT 2006
At 2006-04-27 06:23 AM -0500, Patrick R. Michaud is rumored to have said:
> > I want to have something like (:refresh 10:) generate a tag like:
> >
> > <META HTTP-EQUIV=Refresh CONTENT="10">
>
>Markup('refresh', 'directives',
> '/\\(:refresh (.*?):\\)/e',
> "PZZ(\$GLOBALS['HTMLHeaderFmt']['refresh']=
> \"<meta http-equiv='Refresh' content='$1' />\")");
Thanks Patrick (and Dominique)
This works perfectly. However, there is one unexpected consequence:
if someone is entering a comment (I'm using commentboxstyled) when
the refresh times out, it throws away their comment! I guess it will
encourage short posts. ;-)
Neil Herber
Corporate info at http://www.eton.ca/
More information about the pmwiki-users
mailing list