[ic] Textile filter tip

Joshua Lavin joshua at kingdomdesign.com
Mon Jun 28 18:40:47 EDT 2004


On Jun 27, 2004, at 4:41 AM, Stefan Hornburg wrote:

> Please note that this hack to add a filter is no longer required with
> Interchange 5.x, check $ICDIR/code/Filter for examples.
>
> Bye
> 	Racke

Thanks, Racke. I had change the code some, so for the sake of any who 
see this later:

2. Create $ICDIR/code/Filter/textile.filter:

CodeDef textile Filter
CodeDef textile Routine <<EOR

package Vend::Interpolate;
use Text::Textile;

sub {
         my $textile = new Text::Textile;
         my $val = $textile->process(shift);
         return $val;
}
EOR

--
Josh Lavin
Kingdom Design   http://www.kdw.us/



More information about the interchange-users mailing list