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

2007-05-01 Thread Hans
Tuesday, May 1, 2007, 1:42:07 AM, The Editor wrote: [...] (:template datapage templatepage:) It opens the datapage, explodes the content by the anchors, inserts the data values into the template, and then re-implodes the output and sends it back to the page. All the data is cleanly stored

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

2007-05-01 Thread The Editor
On 5/1/07, Hans [EMAIL PROTECTED] wrote: Tuesday, May 1, 2007, 1:42:07 AM, The Editor wrote: [...] (:template datapage templatepage:) It opens the datapage, explodes the content by the anchors, inserts the data values into the template, and then re-implodes the output and sends it back

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

2007-05-01 Thread Hans
Tuesday, May 1, 2007, 11:28:31 AM, The Editor wrote: ZAP has the ability to edit sections (delimited by anchors) so it would be fairly trivial to pull the stv's back into a text box and edit them just as they appear above (I'd just need to handle the trailing section line better). If you wan

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

2007-05-01 Thread Patrick R. Michaud
On Tue, May 01, 2007 at 09:45:44AM +0100, Hans wrote: Tuesday, May 1, 2007, 1:42:07 AM, The Editor wrote: [...] (:template datapage templatepage:) It opens the datapage, explodes the content by the anchors, inserts the data values into the template, and then re-implodes the output and

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

2007-05-01 Thread Hans
Tuesday, May 1, 2007, 1:23:16 PM, Patrick R. Michaud wrote: It might also be worthwhile to generalize PTVs to work with sections. For example: {PageName#section$:Date} Yes please. I hoped you would say something like this! :) This will then allow grabbing of PTVs of same name in

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

2007-05-01 Thread Hans
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

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

2007-05-01 Thread Hans
Tuesday, May 1, 2007, 4:11:18 PM, The Editor wrote: One simple solution would be to require double colons or some other variation in the data page... Or some kind of leading symbol, or an = sign. Open to suggestions... time:: I don't know yet place:: my place people:: just some friends

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

2007-05-01 Thread The Editor
On 5/1/07, Hans [EMAIL PROTECTED] wrote: Tuesday, May 1, 2007, 4:11:18 PM, The Editor wrote: One simple solution would be to require double colons or some other variation in the data page... Or some kind of leading symbol, or an = sign. Open to suggestions... time:: I don't know yet

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

2007-04-30 Thread The Editor
For some time I've been going back and forth between the merits of Fox's approach to storing comments directly onto a wiki page, and ZAP's data driven approach which separates the data from the format. The advantage of page insertions is they are fast to retrieve (no pagelist) and easy to edit

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

2007-04-30 Thread Kathryn Andersen
On Mon, Apr 30, 2007 at 08:42:07PM -0400, The Editor wrote: (:template datapage templatepage:) One problem: (:template :) is already now used in the PmWiki core for pagelist templates. It would be advisable to use a different markup. Kathryn Andersen -- _--_|\ | Kathryn Andersen