Re: CSV import suggestions
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69147
interpreted = N
texte = Donovan Brooke wrote:> I don't know why you'd need a perl script!?? WebDNA innately reads> comma separated files.. so you should be able to either change the> suffix to .db (if the rest off the file is formated correctly)...> or maybe route .csv to WebDNA in your webserver, then add .csv as> an acceptable WebDNA database suffix in your prefs.I read his message to mean literally "import a CSV file into a webdna db" by which I assumed he already had the DB and need to add more records from the CSV file. While WebDNA will read CSV, it won't read mixed CSV and tab delimited AFAIK. My suggestion would work for appending to an existing file by changing the '>' to '>>'...Johnp.s. plus I forgot that WebDNA could read CSV at all... ;-)-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Donovan Brooke wrote:> I don't know why you'd need a perl script!?? WebDNA innately reads> comma separated files.. so you should be able to either change the> suffix to .db (if the rest off the file is formated correctly)...> or maybe route .csv to WebDNA in your webserver, then add .csv as> an acceptable WebDNA database suffix in your prefs.I read his message to mean literally "import a CSV file into a webdna db" by which I assumed he already had the DB and need to add more records from the CSV file. While WebDNA will read CSV, it won't read mixed CSV and tab delimited AFAIK. My suggestion would work for appending to an existing file by changing the '>' to '>>'...Johnp.s. plus I forgot that WebDNA could read CSV at all... ;-)-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.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:
Date search - yes or no (1997)
Grep vs WebDNA: square brackets (2002)
Modtime bug? (2002)
Bug or syntax error on my part? (1997)
Nested tags count question (1997)
Webcatlog server not running (2008)
Internet Advancement (2003)
Cart ID (1999)
system crashes, event log (1997)
[WebDNA] PayPal Express Checkout (2009)
Multi Actions (1999)
Trouble with formula.db (1997)
Document contains no data... (1999)
[WebDNA] Happy New Year - Good Ol' Talk List (2013)
Size limit for tmpl editor ? (1997)
webten vs. webstar (1998)
Help! WebCat2 bug (1997)
shipcost (1997)
Editing Users.db (1997)
Combining search criteria (2000)