Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Custom filters
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andre Nathan  
View profile  
 More options Apr 15 2011, 10:05 am
From: Andre Nathan <andre...@gmail.com>
Date: Fri, 15 Apr 2011 07:05:46 -0700 (PDT)
Local: Fri, Apr 15 2011 10:05 am
Subject: Custom filters
Hello

I'm using ErlyDTL on ChicagoBoss here.

Is there a way to specify a module of custom filters to ErlyDTL? The
idea would be to specify useful filters that are not recognized by
Django without having to recompile ErlyDTL.

Maybe ErlyDTL could ship with some of those too. For example, the ones
implemented by the Zotonic developers (e.g. http://zotonic.com/template-tags).

Thanks
Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew Gulino  
View profile  
 More options Apr 15 2011, 11:22 am
From: Drew Gulino <drew.gul...@gmail.com>
Date: Fri, 15 Apr 2011 11:22:25 -0400
Local: Fri, Apr 15 2011 11:22 am
Subject: Re: Custom filters
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.

Drew Gulino

On Apr 15, 2011, at 10:05 AM, Andre Nathan <andre...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew Gulino  
View profile  
 More options Apr 18 2011, 11:38 am
From: Drew Gulino <drew.gul...@gmail.com>
Date: Mon, 18 Apr 2011 11:38:23 -0400
Local: Mon, Apr 18 2011 11:38 am
Subject: Re: Custom filters
There is a custom_tags_dir in erlydtl:compile that will include a directory of custom tags.

Drew Gulino

On Apr 15, 2011, at 10:05 AM, Andre Nathan <andre...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Burt  
View profile  
 More options Jul 22 2011, 4:34 am
From: Paul Burt <paul.b...@gmail.com>
Date: Fri, 22 Jul 2011 01:34:31 -0700 (PDT)
Local: Fri, Jul 22 2011 4:34 am
Subject: Re: Custom filters

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)?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Evan Miller  
View profile  
 More options Aug 4 2011, 12:26 am
From: Evan Miller <emmil...@gmail.com>
Date: Wed, 3 Aug 2011 23:26:37 -0500
Local: Thurs, Aug 4 2011 12:26 am
Subject: Re: Custom filters

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

--
Evan Miller
http://www.evanmiller.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Burt  
View profile  
 More options Aug 4 2011, 4:16 am
From: Paul Burt <paul.b...@gmail.com>
Date: Thu, 4 Aug 2011 01:16:02 -0700 (PDT)
Local: Thurs, Aug 4 2011 4:16 am
Subject: Re: Custom filters

> 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

Thanks for confirming, Evan.

Yes, that's what I've done for now. A "custom_filters_modules" option
would be great somewhere down the line, definitely.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »