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:
WebCatalog and WebTen (1997)
Help needed! (1998)
PCS Frames-Default page is solution! (1997)
Counting records (2000)
Search design (1997)
Cookies and webcat (1997)
redirect with frames (1997)
customer.db and forms (1999)
frames & carts (1997)
Date Formats (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
A little syntax help (1997)
It just Does't add up!!! (1997)
Help name our technology! I found it (1997)
Multiple Newcarts (1996)
WebCat2 - Getting to the browser's username/password data (1997)
protect tag on NT IIS (1997)
FileMaker and WebCat (1999)
[showif] not working (2003)
PSC recommends what date format yr 2000??? (1997)