Zope Text Templates
You know... after some days of using ZPT you just don't want to get back to DTML anymore. But what if you then have to dynamically render something that's not *ML? For example, CSS or even StructuredText? Fear no more! TextTemplates and TERRY come to the rescue! TERRY is a simple markup language that brings the power of TALES and TAL to the world of text/plain. TextTemplates is a Zope Product that uses TERRY. So you markup your CSS or STX with something that looks like: %(tal:content="here/fgcolor" black)% and there you go :-) But there's more! You can also change the characters used to do the markup; so if %( is meaningful in your target language and you don't want to spend half of your life escaping, you can redefine the sequences to \{tal:content="here/fgcolor" black} All of this for the ridiculous price of two downloads! And if you download it now, you also get a chance to find lots of bugs... Oh yeah, it depends on mxTextTools and needs Python 2.x, sorry.
|
|
Available Releases
Version | Maturity | Platform | Released |
---|---|---|---|
0.1 | Development | 2001-06-19 08:15:56 | |
TERRY-0.1.tar.gz (7 K) | All | ||
TextTemplates-0.1.tar.gz (7 K) | All |