[Pmwiki-users] calculating directives ?

Knut Alboldt knut
Sun Jun 20 08:46:54 CDT 2004


I like PmWiki as a allround publishing tool. I even experiment at my 
"home"-wiki to use it to hold addresses and writing letters :-)

I thought of writing a cookbook-recipe to implement pmwiki-directives to do 
inline calculations e.g.

[[calc $var=expression]] to set a variable without displaying the result
[[show $var=expression]] to set the variable and displaying the result in 
the wikitext
[[show expression]] incl [[show $var]] to show the result in the wiki-text

I thought of evaluating php-functions for the expressions and assignments 
maybe added by some user-written php-functions

Any comments / ideas on that ?
May this be of global interest ?

Knut




More information about the pmwiki-users mailing list