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][include file=^nwmls/action.inc&domain=[domain]]][/raw] [/writefile]Even though you are [raw]ing out the [domain] in the second include you are passing it in the first. Just have a [text]domain=[domain][/text] in the 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:

    
  1. Re: Writefile, Raw & include (Aaron Lynch 2002)
  2. Re: Writefile, Raw & include (Donovan 2002)
  3. Re: Writefile, Raw & include (Glenn Busbin 2002)
  4. Re: Writefile, Raw & include (Donovan 2002)
  5. Re: Writefile, Raw & include (Gary Krockover 2002)
  6. Re: Writefile, Raw & include (Michael Davis 2002)
  7. Re: Writefile, Raw & include (Aaron Lynch 2002)
  8. Re: Writefile, Raw & include (Aaron Lynch 2002)
  9. Re: Writefile, Raw & include (Donovan 2002)
  10. Re: Writefile, Raw & include (Glenn Busbin 2002)
  11. 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][include file=^nwmls/action.inc&domain=[domain]]][/raw] [/writefile]Even though you are [raw]ing out the [domain] in the second include you are passing it in the first. Just have a [text]domain=[domain][/text] in the 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:

Error Lob.db records error message not name (1997) [WebDNA] lighttpd problem with returnraw http header (2018) Not really WebCat- (1997) Add to Cart & List of Products (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Bug Report, maybe (1997) Search design (1997) View Source from cache (1997) Why WebMerchant not working? Please Help - More Info (1999) A Global Variable (1997) WARNING: MacOS The installer is broken... (2000) writing db to disk (1997) TCPConnect (1998) Interfacing WebMerchant to www.fedex.com (1997) WebCat2 - [format thousands] (1997) Server IP address? (1998) How do I get Google to crawl a WebCat site? (2003) date formatting for CC card expiration date check (1998) Pre-flight public flag (1997) Old Topic - [OT] - server speeds. (2002)