Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-08 Thread João Rocha da Silva
Thanks Claudia, your help got me up and running with DSpace 6 CSV importing through BTE, and with multiple authors! I have moved my code from a gist to a full-fledged GitHub repository, if any others want to perform batch importing like me:

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-04 Thread Claudia Jürgen
P. S. Found out how to use multiple values with BTE one has to define the property valueSeparator see https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/bte.xml#L276 so adding the property to the bean csvDataLoader, e.g.: and using this sample

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-04 Thread Claudia Jürgen
Hello, the || are used by the default csv import not the BTE one. For the default csv import this does work: id,collection,dc.title,dc.contributor.author,dc.date.issued +,123456789/33,Test Title Multiple Authors,"Doe, Jane||Doe, John",2016 Hope this helps Claudia Jürgen Am 03.05.2017 um

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-03 Thread João Silva
Hello again and THANK YOU! My importing is working finally, and with customized fields. This gist contains all my configuration and setup code for DSpace 6 so far, for others who may be hitting their head against the wall

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-03 Thread Claudia Jürgen
Maybe just use the default csv batch import, you need not to configure anything for it. a csv like id,collection,dc.title,dc.contributor.author,dc.date.issued +,COLLECTIONID,"Test Title", "Doe, Jane",2017 Where COLLECTIONID is to be replaced by the collection id you want the item to be imported

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-03 Thread Claudia Jürgen
Hello João, there are 2 different possibilities to upload csv with different csv formats. a) the standard csv batch metadata editing (which helix84 pointed out) https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing#BatchMetadataEditing-AddingMetadata-OnlyItems There the csv contains

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-03 Thread João Silva
I just realized that i may have forgotten to parametrize the section of the bte.xml. I will try to fix and get back to you. At the end of my "journey" I will publish all my code on Github and share it here as well for others who may face the same issues. terça-feira, 2 de Maio de 2017 às

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-02 Thread João Silva
Thank you all for your valuable input. Based on it, I configured my bte.xml as follows (only relevant section shown): https://gist.github.com/silvae86/5838df542637d5059106c82c92728806#file-bte-xml Then, I tried to import the files (CSV or TSV) in attachment; I then got an error also in

Re: [dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-02 Thread Claudia Jürgen
Hello Joao, never worked with a mere bibliographic import, but it seems that just the example is wrong. Rearranging the fields according to: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/spring/api/bte.xml#L284 worked for me in both 5.x and 6.x Hope this helps Claudia Jürgen

[dspace-tech] Re: Import from CSV, BibTeX, etc is completely broken in DSpace 6?

2017-05-02 Thread João Rocha da Silva
Hello again, I am sorry to insist, but this is quite urgent as we are building a repository on a deadline and need to start data insertion on thousands of bibliographic references. We really want to use DSpace but we do not know how to have a working, simple batch import from a CSV for easy