[pmwiki-users] Fox / ShoutBox - integrate the feature in xmlrpc
Stéphane Heckel
hsteph at club-internet.fr
Thu Dec 18 02:39:36 CST 2008
"Hans" wrote :
> perhaps something like this:
> $page = RetrieveAuthPage($pagename, "read", false, READPAGE_CURRENT);
> $shoutmessage = "'''[[".$PageAuthId."|".$AuthId."]]''':
> $shoutmessage - [-''"
> .strftime('%d/%m %H:%M', time() )."''-] [[<<]]";
> $content = $shoutmessage."\n\n".$page['text'];
> if this is in a function, you also need to set in it (at the beginning):
> global $PageAuthId,$AuthId;
got it, and it works.
Thanks !
SH
More information about the pmwiki-users
mailing list