[sc34wg3] CTM: Proposal for %mergemap directive

Robert Barta rho at devc.at
Fri Nov 23 14:05:32 EST 2007


On Thu, Nov 22, 2007 at 05:02:39PM +0100, Jirka Kosek wrote:
> >   %mergemap "echo '...' | mysql --batch | ... |" x my-template ($2, $1, $4)
> >   # executes a MySQL query and uses the my-template to generate CTM content

> IMHO while such feature can be useful, it should be implemented in a
> completely different layer.

Maybe. But one certainly must wonder that

 - CTM offers a template facility

 - but it cannot be used when taking content from the outside

only the 'inside'.

\rho


More information about the sc34wg3 mailing list