Re: generator prob
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37436
interpreted = N
texte = Rudy wrote:> > Hey guys,> > I've been having trouble with something. I was wondering whether you> experienced programmers could help me out with it.> > A search is conducted and I want to write a file to place it in a folder> of its value:> > [search db=Somedatabase.db& etc. . . .]> [founditems]> [writefile file=/[fieldname]/[fieldname].html&secure=F]> If [fieldname] equals TEST, you are trying to create a directorycalled TEST at the ROOT of the web server, containing a file calledTEST.html. I don't think that [writefile] is smart enough to createa directory if one doesn't already exist. You probably have to add a[createfolder], ala: [search db=Somedatabase.db& etc. . . .] [founditems] [createfolder path=/[fieldname]] [writefilefile=/[fieldname]/[fieldname].html&secure=F]HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Rudy wrote:> > Hey guys,> > I've been having trouble with something. I was wondering whether you> experienced programmers could help me out with it.> > A search is conducted and I want to write a file to place it in a folder> of its value:> > [search db=Somedatabase.db& etc. . . .]> [founditems]> [writefile file=/[fieldname]/[fieldname].html&secure=F]> If [fieldname] equals TEST, you are trying to create a directorycalled TEST at the ROOT of the web server, containing a file calledTEST.html. I don't think that [writefile] is smart enough to createa directory if one doesn't already exist. You probably have to add a[createfolder], ala: [search db=Somedatabase.db& etc. . . .] [founditems] [createfolder path=/[fieldname]] [writefilefile=/[fieldname]/[fieldname].html&secure=F]HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
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:
Database Import/Export (1998)
Templates for Customer Database? (1997)
Revisit: speed test (2002)
Server capacity (2003)
Verifying both name and password (was: THANKS) (1997)
Coding Standards - are there any ? (2003)
Stopping bad HTML propagation ? (1997)
Quickie question on the email templates (1997)
Summing fields (1997)
Help with update to 2.11 (1998)
[WebDNA] sort parameters in search (2015)
Summing fields (1997)
[random] only for 1-100??? (1997)
Requiring that certain fields be completed (1997)
Different Drive (2003)
questions on variations of Ken's [text multi=T]var1=&var2=[/text] (1999)
Shopping carts and reloading pages (1997)
HomePage Caution (1997)
Keeping text formatting (like hard returns) (2002)
Local redirects ... (2005)