On 12/22/06, David Huynh <[EMAIL PROTECTED]> wrote:
> Johan Sundström wrote:
> > I'd like string concatenation in there somehow, [...]
>
> Dave Morris asked for something like that a little while ago and I
> introduced the ex:*-subcontent syntax (as opposed to ex:*-content) for
> him. The conversation was in the 3rd section of
>
>     http://simile.mit.edu/wiki/Talk:Exhibit/Getting_Started_Tutorial
>
> But the idea is that you can write what you wanted above as follows:
>
>     <a ex:href-subcontent="/presidents/{{.label}}.html"
> ex:content=".label"></a>
>
> And you can have several of those {{ }}.

Oops; I shouldn't have skipped through the tutorial section. :-)

> > Already useful, though. Some basic numeric operations for rounding,
> > truncation and similar would also be convenient.
>
> Will do! Thanks!
>
> Note that while "add" and "date-range" are functions, "foreach" is a
> control construct. I suppose "if" will be useful, too.

And perhaps if-exists, unless that is something if would be able to
handle too. I'm playing with exhibit:izing
http://en.wikipedia.org/wiki/List_of_social_networking_websites and
haven't come up with any very satisfying way of expressing sites whose
number of users is unknown in the table view (ex:columns attribute);
empty cells don't look very nice.

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to