It would be great to use zotonic's filters, but it would take some work. They don't directly use erlydtl; they refactored it pretty heavily. I don't know how to include custom filters w/out a recompile; I'll take a look.
On Apr 15, 2011, at 10:05 AM, Andre Nathan <andre...@gmail.com> wrote:
On Fri, Jul 22, 2011 at 3:34 AM, Paul Burt <paul.b...@gmail.com> wrote: > I've written a module of filters for use with Twitter API responses - ie > transforms @mentions and #hashtags into clickable links and parses the > RFC822 dates used by Twitter. > What is the best way to make this available to ErlyDTL (for use in a > webmachine app)?
ErlyDTL needs a "custom_filters_modules" option but doesn't have one at the moment. For now you need to monkey-patch erlydtl_filters.erl