Re: [append] vs. [appendfile] delta + question?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11356
interpreted = N
texte = >In the latest webcat version:>>I got the [appendfile] construct to work fine from the tmpl(s) and it>apparently uses : as the delimiter between folder references for the>file path, e.g. somefolder:myfile if I wish to reference a file, myfile,>in a subfolder called somefolder.>>I can't seem to get [append] construct to work from the tmpl(s). I have>two databases with a header line containing the tab delimited field names>and I haven't been able to add records at all to either database. I>notice in the online docs, that the [append] construct docs state that>the / is the folder delimiter. Is this true and is this inconsistent to>appendfile?Yes I think this is true. From my understanding, WebDNA tags and contextsare all supposed to behave properly with html-style path names ... butmaybe one or two of them got by without being changed from the previousmethod.>I have tried the following forms to get to my databases in a>subfolder to the store folder:>> somefolder:invoice.db>> somefolder/invoice.db>> ./somefolder/invoice.dbIf somefolder is in the same location as your template, I think this shouldwork ...[append db=somefolder/invoice.db]field1=XXX&field2=YYY&field3=ZZZ[/append]if not, try a full path from the WebSTAR folder ...[appenddb=/webcatalog/storeFolder/somefolder/invoice.db]field1=XXX&field2=YYY&field3=ZZZ[/append]Sincerely, Ken Grome ..... ken@iav.comhttp://207.24.9.227/usarea/home.html
Associated Messages, from the most recent to the oldest:
>In the latest webcat version:>>I got the
[appendfile] construct to work fine from the tmpl(s) and it>apparently uses : as the delimiter between folder references for the>file path, e.g. somefolder:myfile if I wish to reference a file, myfile,>in a subfolder called somefolder.>>I can't seem to get
[append] construct to work from the tmpl(s). I have>two databases with a header line containing the tab delimited field names>and I haven't been able to add records at all to either database. I>notice in the online docs, that the
[append] construct docs state that>the / is the folder delimiter. Is this true and is this inconsistent to>appendfile?Yes I think this is true. From my understanding, WebDNA tags and contextsare all supposed to behave properly with html-style path names ... butmaybe one or two of them got by without being changed from the previousmethod.>I have tried the following forms to get to my databases in a>subfolder to the store folder:>> somefolder:invoice.db>> somefolder/invoice.db>> ./somefolder/invoice.dbIf somefolder is in the same location as your template, I think this shouldwork ...[append db=somefolder/invoice.db]field1=XXX&field2=YYY&field3=ZZZ[/append]if not, try a full path from the WebSTAR folder ...[appenddb=/webcatalog/storeFolder/somefolder/invoice.db]field1=XXX&field2=YYY&field3=ZZZ[/append]Sincerely, Ken Grome ..... ken@iav.comhttp://207.24.9.227/usarea/home.html
Kenneth Grome
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:
Loss in Form (1998)
RE: redirect with more than 256 characters (1999)
Shipping cost out of synch (1998)
Bug Report, maybe (1997)
[lookup] [search] Issue (2005)
Re:listfiles-looking for slick solution (1997)
Tenon and PCS Partner (1998)
How to Sort Summ data ? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
SiteGuard Use Question (1997)
WebCat b13 CGI -shownext- (1997)
Help! WebCat2 bug (1997)
WebCatalog for Postcards ? (1997)
Re[2]: Malformed Pages (1999)
Re:[ShowIf] and empty fields (1997)
Multiple security dbs (1997)
unable to launch acgi in WebCat (1997)
Append..... doesn't (2000)
Search context not finding recent entries (1998)
Showif Question (2001)