[pmwiki-users] wikish example please

Mark Lee mark.lee.phd at gmail.com
Tue May 28 14:32:48 CDT 2013


I am new to wikish. Is it possible to do the following with wikish?

A subset of pages in a group have this markup on the page.

(:location x=1 y=2:)
(:location x=10 y=10:)
(:location x=20 y=5)
etc...

1. What is the code for listing out the locations, one per line, along with
the pagenames, excluding all pages without the (:loaction:) markup. For
example:

Group:Group1
Pagename=Name1, x=1, y=2
Pagename=Name1, x=10, y=10
Pagename=Name1, x=20, y=5
Pagename=Name6, x=3, y=15
Pagename=Name82, x=5, y=70
Pagename=Name82, x=2, y=40
etc...

2. Is it possible to format the output as a table?

3. Is it possible to pipe the result to additional wikish code or a php
function?

-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20130528/3e58d445/attachment.html>


More information about the pmwiki-users mailing list