[pmwiki-users] New template expression markup....

Hans design5 at softflow.co.uk
Tue May 1 10:02:33 CDT 2007


Tuesday, May 1, 2007, 3:30:22 PM, The Editor wrote:

> I just put together a solution for my needs, mentioned in the other
> post--by using a markup expression.  Basically:

> 1) Use ZAP/Fox to create a page long these lines:

> [[#ID1]]
> name: Caveman
> time: Today
> comment: Welcome to the new section template system...

> [[#ID2]]
> name: Coyote
> time: Tomorrow
> comment: Guess he's gonna get deprecated...

> [[#ID3]]
> name: Editor
> time: Soon
> comment: One of these days I'll do my own website done!

> 2) Second, create a template as normal (with {$$field} syntax).

> 3) On the page you want to show the display put this markup:

> {(section datapage templatepage)}

> The rest is automatic.  I'll be adding it to the ZAPtoolbox and
> MarkupExpressionsExtension list shortly as I believe it will prove
> very useful.

How does it handle when people post text (posting a message in a forum for
instance) in form of

time: I don't know yet
place: my place
people: just some friends

I mean this is a common way of writing.
Would it not collide with the STV pattern recognition?


  ~Hans




More information about the pmwiki-users mailing list