Re: writefile to create static pages

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50103
interpreted = N
texte = The way I'm handling this is all wrong I think.It works, but I don't think I should be doing it in the live template / live web page scenario.I'll rethink my process.thanks At 10:53 PM 5/6/03, you wrote: >Lester, unless I'm reading something wrong, I believe >your writefile philosophy is not quite accurate. > >You are creating a separate html file for every SKU... >In order to view the html file you will have to put html >in it. > >Is it that simple or am I missing something at this late >hour? > >Donovan > >Lester Emo wrote: >>I may have phrased my question wrong. >>my live listing.tpl page begins like this . . . . >>[Search db=^eg/eg.db&eqSKUdatarq=[ID]] >>[Founditems] >> then i've added this to try and create a static page >> as i'm about to show the page and items just found. . . . >> [writefile [sku].htm] >> the balance of the listing.tpl page template stuff >> appears here as it normally would >> [/writefile] >> >>then i end the entire page like normal . . . >>[/Founditems] >>[/Search] >>all this is within the listing.tpl page . . . >>i guess what i'm still asking is would the [writefile] entries mess up >>everything else where i've just included it in a live page when >>everything else is normally happening and being shown. > > > >------------------------------------------------------------- >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://webdna.smithmicro.com/ ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: writefile to create static pages (Lester Emo 2003)
  2. Re: writefile to create static pages (dbrooke 2003)
  3. Re: writefile to create static pages (Lester Emo 2003)
  4. Re: writefile to create static pages (Gary Krockover 2003)
  5. Re: writefile to create static pages (Tim Robinson 2003)
  6. Re: writefile to create static pages (Charles Kline 2003)
  7. writefile to create static pages (Lester Emo 2003)
The way I'm handling this is all wrong I think.It works, but I don't think I should be doing it in the live template / live web page scenario.I'll rethink my process.thanks At 10:53 PM 5/6/03, you wrote: >Lester, unless I'm reading something wrong, I believe >your writefile philosophy is not quite accurate. > >You are creating a separate html file for every SKU... >In order to view the html file you will have to put html >in it. > >Is it that simple or am I missing something at this late >hour? > >Donovan > >Lester Emo wrote: >>I may have phrased my question wrong. >>my live listing.tpl page begins like this . . . . >>[Search db=^eg/eg.db&eqSKUdatarq=[ID]] >>[founditems] >> then i've added this to try and create a static page >> as i'm about to show the page and items just found. . . . >> [writefile [sku].htm] >> the balance of the listing.tpl page template stuff >> appears here as it normally would >> [/writefile] >> >>then i end the entire page like normal . . . >>[/Founditems] >>[/Search] >>all this is within the listing.tpl page . . . >>i guess what i'm still asking is would the [writefile] entries mess up >>everything else where i've just included it in a live page when >>everything else is normally happening and being shown. > > > >------------------------------------------------------------- >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://webdna.smithmicro.com/ ------------------------------------------------------------- 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://webdna.smithmicro.com/ Lester Emo

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:

textarea inputs and returns (1999) WebCat B13 Mac CGI -- Frames question (1997) WebSTAR 2.1 freezes my Mac (1997) [HIDEIF] inside [FOUNDITEM] (1997) tabs as delimiters (2004) [WebDNA] WebDNA on a cPanel server? Maybe not ... (2019) Download URL & access on the fly ? (1997) Exclamation point (1997) Running _every_ page through WebCat ? (1997) Question about replacing words (1998) Detecting SSL or port (2005) Press Release hit the NewsWire!!! (1997) webdna email center (2003) CommandSecurity? (1997) Unceremonious Unwanted Unsubscription (1999) Webcat 3 Bug?!?! Netscape + Protect + Posted Form (1998) Problems deleting when a search field is blank... (1998) Pager notification of completed orders (1998) RE: Answer: WebDelivery downloads alias, not original ? (1997) Ooops-Serial Number for NT (1997)