Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   CSV importing, posted by Paul Harrington on Fri Apr 23 11:50:07 2004 
    icon2.gif   Re: CSV importing, posted by Stefan Ritt on Fri Apr 23 13:47:40 2004 
       icon2.gif   Re: CSV importing, posted by Paul Harrington on Fri Apr 30 12:58:54 2004 
          icon3.gif   Re: CSV importing, posted by Stefan Ritt on Sat May 1 00:21:20 2004 
Message ID: 531     Entry time: Fri Apr 30 12:58:54 2004     In reply to: 529     Reply to this: 533
Icon: Reply  Author: Paul Harrington  Author Email: paul.harrington@oup.com 
Category: Question  OS: Other  ELOG Version: 2.5.2 
Subject: Re: CSV importing 
> > However I'd like to import data from the CSV file, directly to the 'text' 
> > field, rather than just to one an attribute fields. Is it possible to do 
> > this?
> 
> Not yet, but I can implement it. Do you always have a column "text" in your
> CSV data or would you like to be able to select which column goes into the
> "text" field? Can you apend some sample CSV data so that I can have a look at it?

I've been trying an alternative approach which is basically to :

1. Import the data (not including the text field) into elog from a CSV file
2. Stop the elog server
3. Use a perl script to add each text entry to the appropriate record within the 
logbook file. 
(I.e. between the =============================== of the appropriate entry
and the next  '
ELOG V3.1.5-fe60aaf