Re: can WC render sites out?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10707
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.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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.Grant Hulbert, V.P. Engineering | Tools for WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
createfolder permissions (2003)
[WebDNA] [session] (2015)
Setting up the server (1997)
X etc.... (1999)
WebCatalog sales (1997)
Re:Need help... (1997)
Retirement (2000)
Error Template (1999)
search for all (1998)
Emailer port change (1997)
How to include weather (2000)
Online reference (1997)
Emailer (1997)
FYI: virus alert (1996)
Is this possible, WebCat2.0 and checkboxes (1997)
Great product and great job ! (1997)
Attention all list readers (1997)
Database Connectivity (1999)
[WebDNA] Has [middle] always worked this way? (2014)
Plain tex spacing for html? (2003)