<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Any chance you would allow<br>
<br>
<pre wrap="">{function(args)InterMapEntry:Group.PageName#section$[:?]var}</pre>
(or some such) to accommodate farms?<br>
<br>
- Henrik<br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20060907215617.GA21771@host.pmichaud.com"
type="cite">
<pre wrap="">On Thu, Sep 07, 2006 at 02:38:09PM -0700, Martin Fick wrote:
</pre>
<blockquote type="cite">
<pre wrap="">--- "Patrick R. Michaud" <a class="moz-txt-link-rfc2396E" href="mailto:pmichaud@pobox.com"><pmichaud@pobox.com></a> wrote:
With wikipaths ideas in mind, what about:
{(function args)Group.PageName$[?:# ...](index)var}
where (index) could be a future enhancement and
[?:# ...] means that some of these may repeat and
have more symbols added to them in the future.
</pre>
</blockquote>
<pre wrap=""><!---->
Since it's all pie-in-the-sky at the moment, why not? As long
as it's parseable. :-)
</pre>
<blockquote type="cite">
<pre wrap="">Also, how about using a more tradtional function form
(is it too hard from a regexp standpoint?):
</pre>
<blockquote type="cite">
<pre wrap=""> {(function args)Group.PageName#section$[:?]var}
</pre>
</blockquote>
<pre wrap=""> {function(args)Group.PageName#section$[:?]var}
</pre>
</blockquote>
<pre wrap=""><!---->
It's not too hard, but I like the {(function)...}
syntax since "{(" is a clear marker that a function is
being applied. It's also somewhat consistent with (:directive:)
syntax, where the args are inside the parens instead of out.
It also leaves the door slightly open for a way to apply
functions to non-variables, like:
{(toupper) This text is converted to all caps}
</pre>
<blockquote type="cite">
<pre wrap="">Of course, this would be most usefull if there were
some type of looping construct enabled by this (such
as what Pico was alluding to with his pagelist
requests from MySql I think).
</pre>
</blockquote>
<pre wrap=""><!---->
Yes, and part of my aversion to {PageName#section$:var}
is that I know such a looping construct will be demanded,
and the syntax is going to be a bit odd. Especially when
people start asking for the ability to loop over multiple
sections in multiple pages. I suppose this really could be
a form of (:pagelist:), but it would have to return
PageName#section references instead of just page names.
Pm
_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Henrik Bechmann
<a class="moz-txt-link-abbreviated" href="http://www.osscommons.ca">www.osscommons.ca</a>
<a class="moz-txt-link-abbreviated" href="http://www.bechmannsoftware.com">www.bechmannsoftware.com</a>
Webmaster, <a class="moz-txt-link-abbreviated" href="http://www.dufferinpark.ca">www.dufferinpark.ca</a></pre>
</body>
</html>