[html-template-devel] Re: Easier way to fill tmpl_var environment?

Sohail Somani sohail at taggedtype.net
Thu Nov 22 17:44:43 UTC 2007


On Thu, 22 Nov 2007 18:30:44 +0100, Edi Weitz wrote:

> Not for me.  The design goal of HTML-TEMPLATE is to be as simple as
> possible - the idea is that the people working on the HTML don't have to
> learn yet another programming language.
> 
> I don't understand why you can't achieve what you want within Lisp,
> something like
> 
>   (fill-and-print-template "<!-- tmpl_loop ... -->"
>     (my-function a))
> 
> where MY-FUNCTION builds and returns the structure you need.

Yes, you are right. That is what I ended up doing anyway. I have this 
nagging feeling that my-function should be generated somehow.

-- 
Sohail Somani
http://uint32t.blogspot.com




More information about the Html-template-devel mailing list