ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
529
|
Fri Apr 23 13:47:40 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Other | 2.5.2 | 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? |
530
|
Tue Apr 27 17:40:25 2004 |
| Paul Harrington | paul.harrington@oup.com | Question | Windows | 2.5.2 | can attrinute fields contain more that one line |
Is there any way to configure elog so that attribute fields can be edited
on more than line like the 'text' field?
(This would be useful so that attributes could contain larger portions of
text including line breaks)
thanks
Paul |
531
|
Fri Apr 30 12:58:54 2004 |
| Paul Harrington | paul.harrington@oup.com | Question | Other | 2.5.2 | 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 ' |
532
|
Fri Apr 30 21:26:32 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5.2 | Re: can attrinute fields contain more that one line |
> Is there any way to configure elog so that attribute fields can be edited
> on more than line like the 'text' field?
>
> (This would be useful so that attributes could contain larger portions of
> text including line breaks)
No, but this request is already on the wishlist
(http://midas.psi.ch/elog/wishlist.html) since some time. I added your vote. |
533
|
Sat May 1 00:21:20 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Other | 2.5.2 | Re: CSV importing |
I implemented the feature to import the main entry text body from a CSV column labeled
"text". Please see the newest release
(http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.319) and let me know if this
works for you.
I had to add code to break apart long text bodies after 78 characters in order not to
get too long lines. Please note that the maximum body size in the CSV import is limited
to 500 characters. |
542
|
Fri May 14 06:19:40 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Using date and subst date |
I'm trying capture any edit/modified entry with the following, Using the
real date format instead of text string so that I could do a quick filter on it.
Type modified = date
Subst on Edit modified = $date
Problem: It seem that the Subst on Edit always default to 1 Jan 1970 instead
of current date on edit screen.
Could it be $date is a string and not compatible with tape date? or is there
a variable or function to convert $date to date format?
Thanks,
nait |
545
|
Fri May 21 15:03:48 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.5.2 | Re: Using date and subst date |
> I'm trying capture any edit/modified entry with the following, Using the
> real date format instead of text string so that I could do a quick filter on it.
>
> Type modified = date
> Subst on Edit modified = $date
>
> Problem: It seem that the Subst on Edit always default to 1 Jan 1970 instead
> of current date on edit screen.
I fixed that problem, new version under
http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.328 |
546
|
Sat May 29 04:23:58 2004 |
| nait tauh | nait@no2bl.no-ip.com | Question | Linux | 2.5.2 | Re: Using date and subst date |
> I fixed that problem, new version under
> http://midas.psi.ch/cgi-bin/cvsweb/elog/src/elogd.c?rev=1.328
Any binary build anywhere that I can pick? Thanks.
nait. |