How do I create new templates?

2 views
Skip to first unread message

AlexanderZZ

unread,
Dec 22, 2008, 8:21:15 AM12/22/08
to World's Simplest Code Generator
What language is used between the <%%>?
How do I do a for / foreach loop?
Can I link in external code?

secretGeek

unread,
Dec 22, 2008, 8:27:44 AM12/22/08
to World's Simplest Code Generator
hi alexanderZZ
the language is javascript. it gets 'evaled' on the fly.
you can't really do foreach's -- or not in the way you'd like.
i plan to improve the way the '<%''s work so that proper foreach
embedding is supported (like it is in, say, classic asp.)
creating new templates is coming soon. first they'll just be stored in
cookies on your machine. And later i'll have them persisted somewhere
online. Not sure of the best place.
volunteers welcome.
Reply all
Reply to author
Forward
0 new messages