Filters, filters, we want more filters! --------------------------------------- (These are for the #filter directive, not sed_.) * ChuckFilter: Make negative, zero and positive numeric values different colours by wrapping them in parameter-specified HTML tags. Non-numeric values are not wrapped. * StructuredText: a la Zope's formatter="StructuredText". We'd have to determine which structured text module to base this on. (There is a Python `reStructuredText_`_ standard which may or may not be suitable. It replaces the old "Structured Text", and may not be stable for several months.) Also, users will want HTML-like extensions, etc., so maybe we'd need several structured-text filters. * ZopeDtmlVar_, which would grok the same formatting arguments Zope's * ```` understands. See DocumentTemplate/DT_Var.py in the Zope distribution. * Date/Time formats in a manner compatible with the Egenix mx.DateTime_ module (rather than Zope's conflicting attributes). * SuperFilter_, providing the best of all the other filters combined. * excess='...'. * URL-encode (incorporate into WebSafe_)? * Unicode encoding filter in the CheetahRecipes_. Perhaps something like this should be the default, because the exception on Unicode data is a gotcha. .. _reStructuredText_: http://structuredtext.sourceforge.net .. _sed: SedDirective_ We should use settings to provide default arguments for filters. Each filter would have a FilterName (or FilterNameDefaults_) setting which is a dictionary containing default keywords + values. -- MikeOrr_ - 11 Apr 2002