[Dspace-tech] using ItemImport WAS: no subject

2009-04-06 Thread Van Ly
Hi Karen, I've a script that does data capture with a call to ItemImport, you can redirect stdout and stderr to files for debugging. I've a feeling the eperson name has to have `@' as part of the value ie. an email address. --- ItemImport in use 104 $ds/bin/dsrun

Re: [Dspace-tech] using ItemImport WAS: no subject

2009-04-06 Thread Stuart Lewis
://www.library.auckland.ac.nz/ / From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Tuesday, 7 April 2009 12:07 p.m. To: Karen_Savage; dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] using ItemImport WAS: no subject Hi Karen, I've a script that does data capture with a call

Re: [Dspace-tech] using ItemImport WAS: no subject

2009-04-06 Thread Van Ly
/2009 10:39 AM To: Van Ly; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] using ItemImport WAS: no subject Hi Van, The 'if' statement looking for an email address also has an 'else': if (eperson.indexOf('@') != -1) { // @ sign, must be an email myEPerson