Has anyone developed a listing of standard macro-names (i.e., and API) for common template-toolkit snippets (i.e. "widgets")?
Along the same vein, has anyone linked TT2 with a structured-text processor like STX or EtText? What I'm thinking of is a system where an end user can submit content in lightly-formatted plain text and instead of converting it directly to HTML (via ettext2html), runs it through one of a set of processors that can convert it to a standardish TT2 syntax, and then use template toolkit to render the HTML using a site-specific TT2-based style macro library. The motivation for this is probably pretty obvious: my content submitters don't know HTML and probably wouldn't be bothered to learn TT2 syntax either but do seem to groove on wiki-style syntaxes. Unfortunately, the site uses various stylistic elements for representing headers, data tables, etc. that I do as TT2 macros (marketing is talking about doing a sitewide redesign in the near future, so I need the abstraction). Bryce
