List Info

Thread: Completed Document




Completed Document
user name
2006-06-26 11:43:05
Yes Craig, small world 

However its not the output of the execute I want, its also
including 
what was inside the base.epl itself.... so above where the
execute is 
called.  In this example, the output would only contain the
<h1> tags.

Regards

Pete

Craig Dunn wrote:
> Pete Moran wrote:
>> Hi there,
>
> Hi Pete - small world 
>
>> For internal reasons, we need to log the completed
HTML documents 
>> once compiled by Embperl...
>>
>> so if we have in base.epl
>>
>> <html>
>>    <body>
>>     [-  Execute('*') -]
>>    </body>
>>
>> </html>
>
>
> Take out all the HTML from base.epl and put it one
level down, then 
> you can Execute from the base.epl;
>
> Execute({ inputfile => '*', output =>
\$Output});
>
> I think...
>
> Craig
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> For additional commands, e-mail: embperl-helpperl.apache.org
>
>
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

Completed Document
user name
2006-06-26 11:48:36
Pete Moran wrote:
> Yes Craig, small world 
> 
> However its not the output of the execute I want, its
also including 
> what was inside the base.epl itself.... so above where
the execute is 
> called.  In this example, the output would only contain
the <h1> tags.
> 

Thats why I said move it all a level down.

create (for example) base2.epl containing the html you have
now, then 
make base.epl a one liner that calls base2.epl with the
output flag set, 
which in turn executes *.

That would seem simpler to me than apache voodoo of some
sort.

Craig


------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

Completed Document
user name
2006-06-27 03:19:54
> 
> Pete Moran wrote:
> > Yes Craig, small world 
> > 
> > However its not the output of the execute I want,
its also 
> including 
> > what was inside the base.epl itself.... so above
where the 
> execute is 
> > called.  In this example, the output would only
contain the 
> <h1> tags.
> > 
> 
> Thats why I said move it all a level down.
> 
> create (for example) base2.epl containing the html you
have 
> now, then make base.epl a one liner that calls
base2.epl with 
> the output flag set, which in turn executes *.
> 
> That would seem simpler to me than apache voodoo of
some sort.
> 

"Apache Voodoo" would be to write a Apache
output filter in mod_perl that,
beside simply passing the content through, would write to a
file.

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )