I went back into the archives
Look at thread "<@INCLUDE> problem"

Including a taf within a taf.

I had an example but cant find it at this moment



Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm


-----Original Message-----
From: John McGowan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: including snippets of code

Ben,

I tried to send this post to you off the list, but your mail server 
doesn't seem to be accepting any thing from my mail server.

Anyway, see my comments below about nested @includes.


Ben Johansen wrote:

>Off List,
>
>Now, I remember (coffee finally kicked in)
>
>The reason your sub-include of the TML works is because TML is one of
>the extensions setup in the web server to tell the web server that
>Witango is responsible to process this file.
>  
>

No,   the @include tag doesn't interact at all with the web server.  It
also doesn't care about file extensions.  When the app server comes
across an @include, it doesn't care what file extension it is... it
simply includes the file and evaluates any meta code it comes across.

>In the case where an included HTML file calling a SUB-HTML file this is
>not the case. The SUB would not have its metatags processed
>  
>
Yes they are... See the enclosed example...  I just tested this out.

test.taf does an @include of test1.html

test1.html does an @include of test2.html
test2.html does an @include of test3.html
test3.html executes @currentdate.


/John

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to