RE: [Templates] Processing a plugins output?

[prev] [thread] [next] [Date index for 2005/03/15]

From: Simon Matthews
Subject: RE: [Templates] Processing a plugins output?
Date: 15:00 on 15 Mar 2005
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C5296F.C7A81B8C
Content-Type: text/plain

You are looking for the eval filter. 

http://www.template-toolkit.org/docs/plain/Manual/Filters.html#eval_evaltt

HTH

S

> -----Original Message-----
> From: J. Shirley [mailto:jshirley@xxxxx.xxx] 
> Sent: 15 March 2005 14:23
> To: templates@xxxxxxxxxxxxxxxx.xxx
> Subject: [Templates] Processing a plugins output?
> 
> 
> Hey guys,
> Sorry for this question, I'm sure it gets posted rather 
> frequently but I couldn't find a way to search the archives.  
> I'm trying to build a plugin that will have output that I 
> want to have processed.
> 
> So, if the plugin outputs "This is my [% foo_variable %]" how 
> do I get the output of the template to be processed accordingly?
> 
> Thanks,
> -J
> 
> _______________________________________________
> templates mailing list
> templates@xxxxxxxxxxxxxxxx.xxx 
> http://lists.template->; toolkit.org/mailman/listinfo/templates
> 

------_=_NextPart_001_01C5296F.C7A81B8C
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Templates] Processing a plugins output?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>You are looking for the eval filter. </FONT>
</P>

<P><FONT SIZE=3D2><A =
HREF=3D"http://www.template-toolkit.org/docs/plain/Manual/Filters.html#e=
val_evaltt" =
TARGET=3D"_blank">http://www.template-toolkit.org/docs/plain/Manual/Filt=
ers.html#eval_evaltt</A></FONT>
</P>

<P><FONT SIZE=3D2>HTH</FONT>
</P>

<P><FONT SIZE=3D2>S</FONT>
</P>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: J. Shirley [<A =
HREF=3D"mailto:jshirley@xxxxx.xxx">mailto:jshirley@xxxxx.xxx</A>;] =
</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: 15 March 2005 14:23</FONT>
<BR><FONT SIZE=3D2>&gt; To: templates@xxxxxxxxxxxxxxxx.xxx</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: [Templates] Processing a plugins =
output?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hey guys,</FONT>
<BR><FONT SIZE=3D2>&gt; Sorry for this question, I'm sure it gets =
posted rather </FONT>
<BR><FONT SIZE=3D2>&gt; frequently but I couldn't find a way to search =
the archives.&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; I'm trying to build a plugin that will have =
output that I </FONT>
<BR><FONT SIZE=3D2>&gt; want to have processed.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; So, if the plugin outputs &quot;This is my [% =
foo_variable %]&quot; how </FONT>
<BR><FONT SIZE=3D2>&gt; do I get the output of the template to be =
processed accordingly?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Thanks,</FONT>
<BR><FONT SIZE=3D2>&gt; -J</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; templates mailing list</FONT>
<BR><FONT SIZE=3D2>&gt; templates@xxxxxxxxxxxxxxxx.xxx </FONT>
<BR><FONT SIZE=3D2>&gt; <A HREF=3D"http://lists.template-"; =
TARGET=3D"_blank">http://lists.template-</A>&gt; =
toolkit.org/mailman/listinfo/templates</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5296F.C7A81B8C--

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Processing a plugins output?
J. Shirley 14:23 on 15 Mar 2005

RE: [Templates] Processing a plugins output?
Simon Matthews 15:00 on 15 Mar 2005

Re: [Templates] Processing a plugins output?
J. Shirley 15:14 on 15 Mar 2005

RE: [Templates] Processing a plugins output?
Simon Matthews 15:22 on 15 Mar 2005

Generated at 21:07 on 16 Mar 2005 by mariachi v0.52