Re: can WC render sites out?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10806
interpreted = N
texte = >>We're building a big travel/tourism site and want do the whole thing in >>WebCatalog but we want WC to write out files to disk so we can serve >>them conventionally. > >That's an excellent idea for sites that don't need to be dynamic. Just >fill your database where each record contains fields of information you >want on each page, and make a template that loops through every record in >the database, with a [WriteFile] context in it to create the files: > >[search db=site.db&neSKUdata=0] >[foundItems] >[WriteFile [fileName]] > > >[fulltext] > > >[/WriteFile] >[/foundItems] >[/search] > >Then link to this page once each time your site needs rendering.This is a great way to render pages. But - it does not delete old pages containing items deleted from the .db. Would have been a real cool feature. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: can WC render sites out? (Christer Olsson 1997)
  2. Re: can WC render sites out? (Grant Hulbert 1997)
  3. Re: can WC render sites out? (Karl Schroll 1997)
  4. Re: can WC render sites out? (Christer Olsson 1997)
  5. Re: can WC render sites out? (Grant Hulbert 1997)
  6. Re: can WC render sites out? (Kenneth Grome 1997)
  7. can WC render sites out? (Karl Schroll 1997)
>>We're building a big travel/tourism site and want do the whole thing in >>WebCatalog but we want WC to write out files to disk so we can serve >>them conventionally. > >That's an excellent idea for sites that don't need to be dynamic. Just >fill your database where each record contains fields of information you >want on each page, and make a template that loops through every record in >the database, with a [writefile] context in it to create the files: > >[search db=site.db&neSKUdata=0] >[founditems] >[WriteFile [fileName]] > > >[fulltext] > > >[/WriteFile] >[/foundItems] >[/search] > >Then link to this page once each time your site needs rendering.This is a great way to render pages. But - it does not delete old pages containing items deleted from the .db. Would have been a real cool feature. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

Changes to the List (1997) Summing fields (1997) [append] vs. [appendfile] delta + question? (1997) WebTen and WebCat (1997) Bad Cookie / Internet Option / Internet Explorer (2004) Bug in WebCat, (2000) Stopping bad HTML propagation ? (1997) suggestion (1997) Why does WebCat do this? (2001) NT [delete] (1998) New reserved words for [tags] (2000) RE: creating writefile data from a nested search (1997) action=add works with IE but not Communicator (2000) Emailed problem (2000) Browser frames and URLs in the Location field (2004) fieldsumm quandary (2001) Email notification to one of multiple vendors ? (1997) Popup Calendar Code (2003) New command suggestion (was Modifying databasesmanually) (1997) [GROUPS] followup (1997)