Re: [Dspace-tech] Bulk-import-data

2009-09-02 Thread Khan, Baseer
Hello ,
I have tested the dsrun command on my production server , I am using Dspace 
1.4.2.
This is command which I executed from /dspace/bin and the output was following 


./dsrun org.dspace.app.itemimport.ItemImport -a -e susan...@gmail.com -c 
10057/2082 -s /mnt/usbflash/CEE_THESES/CEE_THESES_1 -m mapfileCEE_THESES_1
Destination collections:
Owning  Collection: Waconda Lake
Adding items from directory: /mnt/usbflash/CEE_THESES/CEE_THESES_1
Generating mapfile: mapfileCEE_THESES_1

The strange thing I noticed here was it was creating a file in /dspace/bin and 
the file size is 0.
Is there any other thing I need to do after mapfile .
Should the mapfile command  follow the name of the collection where the file is 
being loaded or the name of the file .

Thank you,
Baseer.



-Original Message-
From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: Monday, August 31, 2009 4:02 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

Hi Baseer,

Are you using 1.5.2? If so, this looks it might be related to creating the
map file. 

 - What command are you using to run the importer?
 - Is any other output displayed? E.g. Generating mapfile: XYZ

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

 Thank you all for helping me out with this issue ,
 the programme is modified and generates dublin code ,
 The issue i have here now is when i run the command to import in Dsapce using
 dsrun , it throws an error like
 
 java.lang.NullPointerException
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
 java.lang.NullPointerException
 
 
 Does anyone have any idea what is this error , i tried using with Java 1.4.2
 and Java 1.6 .
 Thank you,
 Baseer.
 
 
 From: Khan, Baseer
 Sent: Friday, August 28, 2009 4:27 PM
 To: Jayan Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Bulk-import-data
 
 Hello ,
 I have successfully installed the Summer code and tested it on the sample file
 and it works great .
 Now the question I have is I have a excel  file in which the arguments of the
 source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .
 Can you tell me what additional changes I have to make to the code to make it
 running for my file .
 For your reference I am adding the file in this message.
 
 Thank you,
 Baseer.
 
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data
 
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
 baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
 Hello ,
 
 I need to bulk import data into Dspace ,
 
 Is there any possible ways of doing it other than manually doing it one by one
 .
 
 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .
 
 My question is , is there a way that we can bulk import data in any format in
 Dspace with any script ?
 
 Baseer.
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new

Re: [Dspace-tech] Bulk-import-data

2009-09-02 Thread Jayan Kurian
./dsrun org.dspace.app.itemimport.ItemImport -a -e susan...@gmail.com -c
10057/2082 -s /mnt/usbflash/CEE_THESES/CEE_THESES_1 -m mapfileCEE_THESES_1

Can test by just giving s /mnt/usbflash/CEE_THESES rather than s
/mnt/usbflash/CEE_THESES/CEE_THESES_1

Jayan

On Wed, Sep 2, 2009 at 8:59 PM, Khan, Baseer baseer.k...@wichita.eduwrote:

 Hello ,
 I have tested the dsrun command on my production server , I am using Dspace
 1.4.2.
 This is command which I executed from /dspace/bin and the output was
 following


 ./dsrun org.dspace.app.itemimport.ItemImport -a -e susan...@gmail.com -c
 10057/2082 -s /mnt/usbflash/CEE_THESES/CEE_THESES_1 -m mapfileCEE_THESES_1
 Destination collections:
 Owning  Collection: Waconda Lake
 Adding items from directory: /mnt/usbflash/CEE_THESES/CEE_THESES_1
 Generating mapfile: mapfileCEE_THESES_1

 The strange thing I noticed here was it was creating a file in /dspace/bin
 and the file size is 0.
 Is there any other thing I need to do after mapfile .
 Should the mapfile command  follow the name of the collection where the
 file is being loaded or the name of the file .

 Thank you,
 Baseer.



 -Original Message-
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz]
 Sent: Monday, August 31, 2009 4:02 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data

 Hi Baseer,

 Are you using 1.5.2? If so, this looks it might be related to creating the
 map file.

  - What command are you using to run the importer?
  - Is any other output displayed? E.g. Generating mapfile: XYZ

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: 64 9 373-7599 x81928
 http://www.library.auckland.ac.nz/



 On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

  Thank you all for helping me out with this issue ,
  the programme is modified and generates dublin code ,
  The issue i have here now is when i run the command to import in Dsapce
 using
  dsrun , it throws an error like
 
  java.lang.NullPointerException
  at
 org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
  at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
  java.lang.NullPointerException
 
 
  Does anyone have any idea what is this error , i tried using with Java
 1.4.2
  and Java 1.6 .
  Thank you,
  Baseer.
 
  
  From: Khan, Baseer
  Sent: Friday, August 28, 2009 4:27 PM
  To: Jayan Kurian
  Cc: dspace-tech@lists.sourceforge.net
  Subject: RE: [Dspace-tech] Bulk-import-data
 
  Hello ,
  I have successfully installed the Summer code and tested it on the sample
 file
  and it works great .
  Now the question I have is I have a excel  file in which the arguments of
 the
  source file ( which is cEJ) are different , I have tweaked the code by
  changing the identifiers but it did not work .
  Can you tell me what additional changes I have to make to the code to
 make it
  running for my file .
  For your reference I am adding the file in this message.
 
  Thank you,
  Baseer.
 
  From: Jayan Kurian [mailto:jayan...@gmail.com]
  Sent: Thursday, August 27, 2009 7:43 PM
  To: Khan, Baseer
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] Bulk-import-data
 
  http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
  Hope this helps
 
  Jayan
  On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
  baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
  Hello ,
 
  I need to bulk import data into Dspace ,
 
  Is there any possible ways of doing it other than manually doing it one
 by one
  .
 
  I read about the data import in Dspace documentation but it does for a
  individual entry in collection and the input format is in Dublin code .
 
  My question is , is there a way that we can bulk import data in any
 format in
  Dspace with any script ?
 
  Baseer.
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
  trial. Simplify your report design, integration and deployment - and
 focus on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.netmailto:
 DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
  trial. Simplify your report design, integration and deployment - and
 focus on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread mikan.d.dspace listmail
Just a quick note about our PHP /  Excel / CSV importer. It can be found at:

http://otto.terkko.helsinki.fi/utils/index.html

-Mika


2009/8/29 Khan, Baseer baseer.k...@wichita.edu:
 Hello ,

 I have successfully installed the Summer code and tested it on the sample
 file and it works great .

 Now the question I have is I have a excel  file in which the arguments of
 the source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .

 Can you tell me what additional changes I have to make to the code to make
 it running for my file .

 For your reference I am adding the file in this message.



 Thank you,

 Baseer.



 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data



 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import

 Hope this helps



 Jayan

 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer baseer.k...@wichita.edu
 wrote:

 Hello ,

 I need to bulk import data into Dspace ,

 Is there any possible ways of doing it other than manually doing it one by
 one .

 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .

 My question is , is there a way that we can bulk import data in any format
 in Dspace with any script ?

 Baseer.

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Khan, Baseer
Thank you all for helping me out with this issue , 
the programme is modified and generates dublin code , 
The issue i have here now is when i run the command to import in Dsapce using 
dsrun , it throws an error like

java.lang.NullPointerException
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
java.lang.NullPointerException


Does anyone have any idea what is this error , i tried using with Java 1.4.2 
and Java 1.6 .
Thank you,
Baseer.


From: Khan, Baseer
Sent: Friday, August 28, 2009 4:27 PM
To: Jayan Kurian
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Bulk-import-data

Hello ,
I have successfully installed the Summer code and tested it on the sample file 
and it works great .
Now the question I have is I have a excel  file in which the arguments of the 
source file ( which is cEJ) are different , I have tweaked the code by changing 
the identifiers but it did not work .
Can you tell me what additional changes I have to make to the code to make it 
running for my file .
For your reference I am adding the file in this message.

Thank you,
Baseer.

From: Jayan Kurian [mailto:jayan...@gmail.com]
Sent: Thursday, August 27, 2009 7:43 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
Hope this helps

Jayan
On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer 
baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:

Hello ,

I need to bulk import data into Dspace ,

Is there any possible ways of doing it other than manually doing it one by one .

I read about the data import in Dspace documentation but it does for a 
individual entry in collection and the input format is in Dublin code .

My question is , is there a way that we can bulk import data in any format in 
Dspace with any script ?

Baseer.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Stuart Lewis
Hi Baseer,

Are you using 1.5.2? If so, this looks it might be related to creating the
map file. 

 - What command are you using to run the importer?
 - Is any other output displayed? E.g. Generating mapfile: XYZ

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

 Thank you all for helping me out with this issue ,
 the programme is modified and generates dublin code ,
 The issue i have here now is when i run the command to import in Dsapce using
 dsrun , it throws an error like
 
 java.lang.NullPointerException
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
 java.lang.NullPointerException
 
 
 Does anyone have any idea what is this error , i tried using with Java 1.4.2
 and Java 1.6 .
 Thank you,
 Baseer.
 
 
 From: Khan, Baseer
 Sent: Friday, August 28, 2009 4:27 PM
 To: Jayan Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Bulk-import-data
 
 Hello ,
 I have successfully installed the Summer code and tested it on the sample file
 and it works great .
 Now the question I have is I have a excel  file in which the arguments of the
 source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .
 Can you tell me what additional changes I have to make to the code to make it
 running for my file .
 For your reference I am adding the file in this message.
 
 Thank you,
 Baseer.
 
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data
 
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
 baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
 Hello ,
 
 I need to bulk import data into Dspace ,
 
 Is there any possible ways of doing it other than manually doing it one by one
 .
 
 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .
 
 My question is , is there a way that we can bulk import data in any format in
 Dspace with any script ?
 
 Baseer.
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-31 Thread Khan, Baseer
Hello ,

I am using Dspace 1.4.2 and Google Summer code 2008 , 
I have cleared the error ,  and looks like it is trying to upload file , but I 
am not sure where it is uploading .
Can you tell me how to choose the handle where I want to upload these files ?
Second thing do you think as I am doing it on test server which does not have 
handle configured on it so the command dsrun is unable to upload the files.
I have to upload the files to this collection so can you write the command for 
it , 

http://soar.wichita.edu/dspace/handle/10057/2082



This is the command I am using to upload the files 

./dsrun org.dspace.app.itemimport.ItemImport -a -e
odza...@yahoo.com -c 10057/2082 -s C:\CEE_THESES -m
mapfileCEE_Theses

Thank you,
Baseer.

-Original Message-
From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: Monday, August 31, 2009 4:02 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

Hi Baseer,

Are you using 1.5.2? If so, this looks it might be related to creating the
map file. 

 - What command are you using to run the importer?
 - Is any other output displayed? E.g. Generating mapfile: XYZ

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/



On 1/09/09 5:22 AM, Khan, Baseer baseer.k...@wichita.edu wrote:

 Thank you all for helping me out with this issue ,
 the programme is modified and generates dublin code ,
 The issue i have here now is when i run the command to import in Dsapce using
 dsrun , it throws an error like
 
 java.lang.NullPointerException
 at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:490)
 at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:407)
 java.lang.NullPointerException
 
 
 Does anyone have any idea what is this error , i tried using with Java 1.4.2
 and Java 1.6 .
 Thank you,
 Baseer.
 
 
 From: Khan, Baseer
 Sent: Friday, August 28, 2009 4:27 PM
 To: Jayan Kurian
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Bulk-import-data
 
 Hello ,
 I have successfully installed the Summer code and tested it on the sample file
 and it works great .
 Now the question I have is I have a excel  file in which the arguments of the
 source file ( which is cEJ) are different , I have tweaked the code by
 changing the identifiers but it did not work .
 Can you tell me what additional changes I have to make to the code to make it
 running for my file .
 For your reference I am adding the file in this message.
 
 Thank you,
 Baseer.
 
 From: Jayan Kurian [mailto:jayan...@gmail.com]
 Sent: Thursday, August 27, 2009 7:43 PM
 To: Khan, Baseer
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Bulk-import-data
 
 http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
 baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:
 
 Hello ,
 
 I need to bulk import data into Dspace ,
 
 Is there any possible ways of doing it other than manually doing it one by one
 .
 
 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .
 
 My question is , is there a way that we can bulk import data in any format in
 Dspace with any script ?
 
 Baseer.
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu

Re: [Dspace-tech] Bulk-import-data

2009-08-28 Thread Lewatle Phaladi
Hi Khan

What I did,

create a file called contents
and type your files names like this inside contents file, you can mention as 
many as possible


HWS-10.pdf  bundle:ORIGINAL
HWS-11.pdf  bundle:ORIGINAL
HWS-12.pdf  bundle:ORIGINAL
HWS-13.pdf  bundle:ORIGINAL
HWS-14.pdf  bundle:ORIGINAL
HWS-16.pdf  bundle:ORIGINAL
HWS-17.pdf  bundle:ORIGINAL
HWS-18.pdf  bundle:ORIGINAL
HWS-19.pdf  bundle:ORIGINAL
HWS-20.pdf  bundle:ORIGINAL
HWS-21.pdf  bundle:ORIGINAL
HWS-22.pdf  bundle:ORIGINAL
HWS-23.pdf  bundle:ORIGINAL
license.txt bundle:LICENSE


secondly create license.txt file and insert your license like:


License granted by Yourname YourSurname (xsxs...@edu.usd.ac.de) on 
2009-08-26T09:12:19Z (GMT):

NOTE: PLACE YOUR OWN LICENSE HERE
This sample license is provided for informational purposes only.

NON-EXCLUSIVE DISTRIBUTION LICENSE

By signing and submitting this license, you (the author(s) or copyright
owner) grants to DSpace University (DSU) the non-exclusive right to reproduce,
translate (as defined below), and/or distribute your submission (including
the abstract) worldwide in print and electronic format and in any medium,
including but not limited to audio or video.

You agree that DSU may, without changing the content, translate the
submission to any medium or format for the purpose of preservation.

You also agree that DSU may keep more than one copy of this submission for
purposes of security, back-up and preservation.

You represent that the submission is your original work, and that you have
the right to grant the rights contained in this license. You also represent
that your submission does not, to the best of your knowledge, infringe upon
anyone's copyright.

If the submission contains material for which you do not hold copyright,
you represent that you have obtained the unrestricted permission of the
copyright owner to grant DSU the rights required by this license, and that
such third-party owned material is clearly identified and acknowledged
within the text or content of the submission.

IF THE SUBMISSION IS BASED UPON WORK THAT HAS BEEN SPONSORED OR SUPPORTED
BY AN AGENCY OR ORGANIZATION OTHER THAN DSU, YOU REPRESENT THAT YOU HAVE
FULFILLED ANY RIGHT OF REVIEW OR OTHER OBLIGATIONS REQUIRED BY SUCH
CONTRACT OR AGREEMENT.

DSU will clearly identify your name(s) as the author(s) or owner(s) of the
submission, and will not make any alteration, other than as allowed by this
license, to your submission.


Lastly create the xml file nameddublin_core.xml

inside the file put you info like this:

?xml version=1.0 encoding=utf-8 standalone=no?
dublin_core schema=dc
  dcvalue element=contributor qualifier=authorLewatle, Phaladi/dcvalue
  dcvalue element=description qualifier=noneE Book in PDF format/dcvalue
  dcvalue element=description qualifier=abstractTo follow/dcvalue
  dcvalue element=language qualifier=isoen/dcvalue
  dcvalue element=publisher qualifier=noneUniversity of your own/dcvalue
  dcvalue element=subject qualifier=noneSouth africana/dcvalue
  dcvalue element=subject qualifier=noneSouth Africa/dcvalue
  dcvalue element=subject qualifier=nonehistory/dcvalue
  dcvalue element=subject qualifier=noneLibrary/dcvalue
  dcvalue element=subject qualifier=nonehistory/dcvalue
  dcvalue element=subject qualifier=noneAfricana/dcvalue
  dcvalue element=title qualifier=noneAfricana, South Africa/dcvalue
  dcvalue element=type qualifier=noneBook/dcvalue
  dcvalue element=date qualifier=issued2009-08-24/dcvalue
/dublin_core


All the above files copy them into one folder with a name of your choice 

on my case I also copied the folder(that contains the files) into my directory 
eg /export
then they look like 
/export/folder

then 
cd /[dspace]/dspace/bin/ 

# ./import -a -e lewatle.phal...@wits.ac.za -c 123456789/7166 -s /export/ -m 
wiremap

I believe this will help as it has for me.

Regards
Lewatle 













-Original Message-
From: Khan, Baseer [mailto:baseer.k...@wichita.edu]
Sent: Thu 8/27/2009 7:45 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Bulk-import-data
 
Hello ,
I need to bulk import data into Dspace ,
Is there any possible ways of doing it other than manually doing it one by one .
I read about the data import in Dspace documentation but it does for a 
individual entry in collection and the input format is in Dublin code .
My question is , is there a way that we can bulk import data in any format in 
Dspace with any script ?
Baseer.


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content 

Re: [Dspace-tech] Bulk-import-data

2009-08-28 Thread Jason Stirnaman
Baseer,
Jayan's suggestion is the way to go. Alternatively, I've used a process
involving a couple of PHP scripts and Excel that was developed by
someone else. The original code apparently isn't being hosted anymore,
but I can send it if you want.

Jason
-- 



 On 8/27/2009 at 7:43 PM, in message
6aae9d310908271743g1f79a458x6b837ec32244b...@mail.gmail.com, Jayan
Kurian
jayan...@gmail.com wrote:

http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import

 Hope this helps
 
 Jayan
 On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer
baseer.k...@wichita.eduwrote:
 
  Hello ,

 I need to bulk import data into Dspace ,

 Is there any possible ways of doing it other than manually doing it
one by
 one .

 I read about the data import in Dspace documentation but it does for
a
 individual entry in collection and the input format is in Dublin
code .

 My question is , is there a way that we can bulk import data in any
format
 in Dspace with any script ?

 Baseer.



--
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
 trial. Simplify your report design, integration and deployment - and
focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/dspace-tech 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-28 Thread John Davison
Baseer--
If you're interested in the DSpace batch submission command line 
function detailed here, Item Importer and Exporter: 
http://www.dspace.org/1_5_2Documentation/ch09.html#N13795
Then let me suggest an Excel tool that makes the process of creating 
submission packages very easy.

Detailed directions available on our wiki, with a download link at the 
bottom of the page:
http://sites.google.com/a/ohiolink.edu/drmc/bulk-submission

If however you're interested in non-Dublin Core descriptive metadata, 
you'll want to read the DSpace documentation, Metadata Schema Registry: 
http://www.dspace.org/1_5_2Documentation/ch05.html#N11B71

And the good folks at the Texas Digital Library have an excellent set of 
instructions here: What if I need to import metadata in a schema other 
than Dublin Core? 
http://www.tdl.org/wp-content/uploads/2009/04/DSpaceBatchImportFormat.pdf

I hope this helps,

John Davison
OhioLINK DRC



Khan, Baseer wrote:

 Hello ,

 I need to bulk import data into Dspace ,

 Is there any possible ways of doing it other than manually doing it 
 one by one .

 I read about the data import in Dspace documentation but it does for a 
 individual entry in collection and the input format is in Dublin code .

 My question is , is there a way that we can bulk import data in any 
 format in Dspace with any script ?

 Baseer.

 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-28 Thread Khan, Baseer
Hello ,
I have successfully installed the Summer code and tested it on the sample file 
and it works great .
Now the question I have is I have a excel  file in which the arguments of the 
source file ( which is cEJ) are different , I have tweaked the code by changing 
the identifiers but it did not work .
Can you tell me what additional changes I have to make to the code to make it 
running for my file .
For your reference I am adding the file in this message.

Thank you,
Baseer.

From: Jayan Kurian [mailto:jayan...@gmail.com]
Sent: Thursday, August 27, 2009 7:43 PM
To: Khan, Baseer
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Bulk-import-data

http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
Hope this helps

Jayan
On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer 
baseer.k...@wichita.edumailto:baseer.k...@wichita.edu wrote:

Hello ,

I need to bulk import data into Dspace ,

Is there any possible ways of doing it other than manually doing it one by one .

I read about the data import in Dspace documentation but it does for a 
individual entry in collection and the input format is in Dublin code .

My question is , is there a way that we can bulk import data in any format in 
Dspace with any script ?

Baseer.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



Archaeology_Data_sample.xls
Description: Archaeology_Data_sample.xls
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk-import-data

2009-08-27 Thread Jayan Kurian
http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
Hope this helps

Jayan
On Fri, Aug 28, 2009 at 12:45 AM, Khan, Baseer baseer.k...@wichita.eduwrote:

  Hello ,

 I need to bulk import data into Dspace ,

 Is there any possible ways of doing it other than manually doing it one by
 one .

 I read about the data import in Dspace documentation but it does for a
 individual entry in collection and the input format is in Dublin code .

 My question is , is there a way that we can bulk import data in any format
 in Dspace with any script ?

 Baseer.


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech