Hello Ahmet,
I have used the following and were very helpful in understanding how to import 
data into DSpace via SAF.

·         https://github.com/DSpace-Labs/SAFBuilder

·         https://www.youtube.com/watch?v=TYCJnorCXEs

Cheers
_________________________________
Nason Bimbe
orcid.org/0000-0001-7560-5029
Information Systems Manager
British Library for Development Studies (BLDS)

Institute of Development Studies
At the University of Sussex, Brighton, BN1 9RE
Tel.  + 44 (0) 1273 915794
Mob. + 44 (0) 7808 794527
Skype. bimben
Twitter. @nbimbe
https://www.ids.ac.uk<https://www.ids.ac.uk/>
https://blds.ids.ac.uk<https://blds.ids.ac.uk/>
http://opendocs.ids.ac.uk
http://bulletin.ids.ac.uk<http://bulletin.ids.ac.uk/>
http://resourcefinder.ids.ac.uk/vufind



From: [email protected] 
[mailto:[email protected]] On Behalf Of Ahmet Melih Basbug
Sent: 19 August 2016 11:45
To: DSpace Community <[email protected]>
Subject: Re: [dspace-community] try to transfer items to Dspace

For example, I export a document from dspace. I got that file

$ /dspace/bin/dspace export -t ITEM -d ~/ -i 123456789/5 -n 1
Exporting Item 4 to /home/dspace/1
Attempting to create file /home/dspace/1/dublin_core.xml

I changed some articles inside and how can i import this?
$ /dspace/bin/dspace import -a -e [email protected]<mailto:[email protected]> -c 
123456789/7 -s /home/dspace/1/dublin_core.xml -m mapfile
Destination collections:
Started: 1471603444680
Ended: 1471603445293
Elapsed time: 0 secs (613 msecs)
Exception: org.dspace.content.Community cannot be cast to 
org.dspace.content.Collection
java.lang.ClassCastException: org.dspace.content.Community cannot be cast to 
org.dspace.content.Collection
            at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:448)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
            at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)


19 Ağustos 2016 Cuma 12:36:11 UTC+3 tarihinde Claudia Jürgen yazdı:
Hello Ahmet,

there are a lot of ways to import items into DSpace see
https://wiki.duraspace.org/display/DSDOC5x/Ingesting+Content+and+Metadata

If midas supports has an OAI-PMH interface you can even harvest from midas
https://wiki.duraspace.org/display/DSDOC5x/OAI#OAI-OAI-PMH/OAI-OREHarvester(Client)

Hope this helps

Claudia Jürgen


Am 19.08.2016 um 11:12 schrieb Ahmet Melih Başbuğ:
> Hello. I try to transfer items data from midas application (mysql) to
> dspace application (postgresql), I match columns of tables. However, I
> don'T have any idea about bitstreams and adding pdf or video files to
> dspace's items. I have these files in disk. there are many files and
> customer doesn't want to add manually again. Any idea?
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
[email protected]<javascript:>
www.ub.tu-dortmund.de<http://www.ub.tu-dortmund.de>

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.
--
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
This message is for the addressee only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any views or opinions expressed are 
solely those of the author and do not necessarily represent those of IDS. 
Institute of Development Studies at the University of Sussex, Brighton BN1 9RE 
Tel: +44 (0)1273 606261; Fax: +44 (0)1273 621202 IDS, a charitable company 
limited by guarantee: Registered Charity No. 306371; Registered in England 
877338; VAT No. GB 350 899914

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to