From: Brian Wisti Date: 2002-06-10T14:22:12+09:00 Subject: Re: ANNOUNCE: PageTemplate 0.3.1 Hi, On 2002.06.08 06:57 Patrick Roemer wrote: > Just one proposal for a small fix: It complains about 'var' > directives with variable names containing keywords, i.e. > [%var articleno%] yields a 'loop branch without corresponding > opening directive' because of the 'no' suffix. Enclosing the > default glossary regexps in '^..$' seems to fix this. Thanks for finding and fixing! The error you describe has been added as part of the standard test run, and a variation of your fix (the same plus allow whitespace on either side) has been applied in the code. An updated PageTemplate will be available sometime in the next hour - I'm still getting the hang of Sourceforge ;-) > > I'd like to include something like a bounded loop such as > [%in images(0,4)%]. Are there any plans on your side to > enable additional parameters in commands as in the above > sketch? MY plan is to keep the syntax as simple as possible, but providing access to an object's public interface made that goal more difficult. As soon as I figure out how to hide the complexity from your local Web designer, I will definitely provide _some_ means of passing parameters. Then you could find or make a way to do bounded loops, yes. It's something to look forward to, I hope :-) Later, Brian Wisti brian@coolnamehere.com