[pmwiki-users] Execute & render markup from a php function
Stéphane Heckel
hsteph at club-internet.fr
Wed Apr 2 09:24:10 CDT 2008
Hello Hans & list,
I'm looking for a function to execute & render markup.
ie : I would like to run {(plist groups=* -Site*.* sep=\n)}and get the
result in a variable, ..
Today, I need to execute 'powertools' markup, but markup could be anything
else
something like :
$mymarkup= '{(plist groups=* -Site*.* sep=\n)}';
$page['text'] =ExecuteMarkup($mymarkup);
...
...
function ExecuteMarkup($myMarkup) {
return (result of $myMarkup)
}
Idea behind is to add this feature in the xmlrcp cookbook
Any clue ?
Thanks
SH
More information about the pmwiki-users
mailing list