Re: Writefile, Raw & include
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43205
interpreted = N
texte = O.K.,I've never tryed this but howz bout:[writefile file=./[word]][include file=mastertemplate&domain=[domain]&body=[raw][includefile=^nwmls/action.inc&domain=[domain]]][/raw][/writefile]Even though you are [raw]ing out the [domain] in the second includeyou are passing it in the first. Just have a [text]domain=[domain][/text] inthe master template and things should work fine me thinks.would be worth a try anyway.P.S... note that glenn was right on his first response about the missing ]did you try that?DonovanAaron Lynch wrote:> On 9/6/02 12:45 PM, Donovan mashed the following keys :>> > [writefile file=./[word]]> > [include file=mastertemplate&body=[include> > file=^nwmls/action.inc&raw=T&domain=[domain]]]> > [/writefile]> >> >>>> I want to write a html file, that has an include in it. Not a raw include> like this example. And the include needs to be different in each file>> So this is what I want>> --> Junk from template>> [include file=^nwmls/action.inc&domain=domain.com]>> Junk from template> --->> That include is what is actually [body] in the master template>> I can get it to write [include file=^nwmls/action.inc] with my first> example. I can't get it to put the domain in.>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Glenn Busbin 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Gary Krockover 2002)
- Re: Writefile, Raw & include (Michael Davis 2002)
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Aaron Lynch 2002)
- Re: Writefile, Raw & include (Donovan 2002)
- Re: Writefile, Raw & include (Glenn Busbin 2002)
- Writefile, Raw & include (Aaron Lynch 2002)
|
O.K.,I've never tryed this but howz bout:[writefile file=./[word]][include file=mastertemplate&domain=[domain]&body=[raw][includefile=^nwmls/action.inc&domain=[domain]]][/raw][/writefile]Even though you are [raw]ing out the [domain] in the second includeyou are passing it in the first. Just have a [text]domain=[domain][/text] inthe master template and things should work fine me thinks.would be worth a try anyway.P.S... note that glenn was right on his first response about the missing ]did you try that?DonovanAaron Lynch wrote:> On 9/6/02 12:45 PM, Donovan mashed the following keys :>> > [writefile file=./[word]]> > [include file=mastertemplate&body=[include> > file=^nwmls/action.inc&raw=T&domain=[domain]]]> > [/writefile]> >> >>>> I want to write a html file, that has an include in it. Not a raw include> like this example. And the include needs to be different in each file>> So this is what I want>> --> Junk from template>> [include file=^nwmls/action.inc&domain=domain.com]>> Junk from template> --->> That include is what is actually [body] in the master template>> I can get it to write [include file=^nwmls/action.inc] with my first> example. I can't get it to put the domain in.>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Donovan
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
multiple search commands (1997)
A little syntax help (1997)
Bad Suffix (1999)
Problem with [Search] inside of [Loop]? (1997)
Requiring that certain fields be completed (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Bug or syntax error on my part? (1997)
Mac & Internet Explorer (2000)
[WebDNA] Can I do something with webdna to pass-protect an (2009)
So many lookers, hey smith micro (2003)
Help Wanted - Stowe, Vermont (1999)
bug in [SendMail] (1997)
HELP! Search finding too much! (1998)
Date format problems (1997)
[WebDNA] table comma field delimiter bug? (2012)
[defined]ish (1997)
WebCatalog2 Feature Feedback (1996)
feature request-- [epoch] (2004)
quantity [addlineitem] (2001)
MacActivity and PCS (1997)