Re: Generating Pages
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22729
interpreted = N
texte = Simple.I'd spawn this task off by the way or (if you're db is large enough) yourserver may come to a halt for a few minutes while it does this.Do a search for the items that you want, and in [founditems] just have awritefile. To simplify the task, make the name of the file [sku].htmlThen just code the writefile context as if you were laying out the page ina regular text editor. Include all the dynamic information that you needlike [sku], [price], etc. then close it [/writefile][/founditems]You could also put a link on the bottom back to some type of index pagewhich you could generate like this [search db=.......] [writefile file=index.html&secure=f] Look at our products...<BR> [founditems]<a href=[sku].html>[title (or whatever you want)]<BR>[/founditems][/search]you get the idea. Then just watch your harddrive light up as your servertakes MASSIVE harddisk hits.-howard On Tue, 19 Jan 1999, Talklist wrote:> I'am trying to take my database and setup a template of some sort that would> and read each record and automaticaly generate a little plain jane webpage> for each record. any body have any idea's on this one , or where to start...> a little kick in the ass would be nice....heh heh> > thanks in advance> > > Chris> > > >
Associated Messages, from the most recent to the oldest:
Simple.I'd spawn this task off by the way or (if you're db is large enough) yourserver may come to a halt for a few minutes while it does this.Do a search for the items that you want, and in
[founditems] just have awritefile. To simplify the task, make the name of the file [sku].htmlThen just code the writefile context as if you were laying out the page ina regular text editor. Include all the dynamic information that you needlike [sku], [price], etc. then close it [/writefile][/founditems]You could also put a link on the bottom back to some type of index pagewhich you could generate like this [search db=.......] [writefile file=index.html&secure=f] Look at our products...<BR>
[founditems]<a href=[sku].html>[title (or whatever you want)]<BR>[/founditems][/search]you get the idea. Then just watch your harddrive light up as your servertakes MASSIVE harddisk hits.-howard On Tue, 19 Jan 1999, Talklist wrote:> I'am trying to take my database and setup a template of some sort that would> and read each record and automaticaly generate a little plain jane webpage> for each record. any body have any idea's on this one , or where to start...> a little kick in the ass would be nice....heh heh> > thanks in advance> > > Chris> > > >
Howard Wolosky
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:
WC2b15 File Corruption (1997)
Setting up WebCatalog with Retail Pro data (1996)
Triggers (1999)
Seeking WebCat Bulletin Board (1999)
MacAuthorize hub, no modal password dialog? (1997)
Separate SSL Server (1997)
[WebDNA] Max upload file size (2010)
ShowNext (1997)
Problems deleting when a search field is blank... (1998)
Looking for a Quick Solution. (1999)
RE: question on [delete] (1998)
Serving images from databases (1998)
Anyone Using 4DMail (2004)
notification solutions (1997)
Interfacing WC with mail server (1998)
It just Does't add up!!! (1997)
Will webdna execute before a [redirect]? (1999)
Calculating Shipping (1997)
Problems reading files created by WC (1997)
New site announcement + Showing once on a founditems (1997)