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:
https://github.com/silvae86/install-dspace6-in-ubuntu16
Thanks again!
quinta-feira, 4 de Maio de 2017 às 12:35:26 UTC+1, Claudia Jürgen escreveu:
>
> 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
> title,authors,issued,journal,abstract,jissn,subtype
> "Test BTE","Doe, Jane#Doe, John",2016,"The Journal Title","The
> abstract","the jissn","the subtype"
> worked
>
> Hope this helps
>
> Claudia Jürgen
>
>
>
> Am 03.05.2017 um 18:58 schrieb João Silva:
> > Hello again and THANK YOU!
> >
> > My importing is working finally, and with customized fields. This gist
> > <https://gist.github.com/silvae86/5838df542637d5059106c82c92728806>
> > contains all my configuration and setup code for DSpace 6 so far, for
> > others who may be hitting their head against the wall like me :-)
> >
> > The only thing not working is when I have more than one author. I tried
> > using the double pipe || between authors, changing the double quotes
> like
> > so:
> >
> > ,"António Costa || Mário Centeno",
> >
> > ,"António Costa" || "Mário Centeno",
> >
> > ,""António Costa" || "Mário Centeno""
> >
> > But DSpace does not separate the authors. Anything wrong with my CSV
> (see
> > excerpt below)? Do I need to activate something in the DSpace
> > configurations to enable multiple value parsing?
> >
> > ,language,subtype,"António Costa || Mário Centeno",editors,illustrators,
> >
> >
> >
> >
> > quarta-feira, 3 de Maio de 2017 às 11:43:03 UTC+1, Claudia Jürgen
> escreveu:
> >> 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 to.
> >>
> >> Hope that helps
> >>
> >> Claudia Jürgen
> >>
> >>
> >>
> >> Am 03.05.2017 um 10:34 schrieb João Silva:
> >>> I just realized that i may have forgotten to parametrize the >> name="
> >>> outputMap" class="java.util.HashMap" scope="prototype"> 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 18:08:42 UTC+1, João Silva escreveu:
> >>>> 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 attachment... Has anyone seen this before?
> >>>>
> >>>> Thanks!
> >>>>
> >>>> terça-feira, 2 de Maio de 2017 às 12:32:45 UTC+1, helix84 escreveu:
> >>>>> Sorry, I won't help you with BTE imports at the moment, but take a
> >>>>> look at the "native" CSV import DSpace uses. This one surely works.
> >>>>>
> >>>>> https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing
> >>>>>
> >>>>>
> >>>>> Regards,
> >>>>> ~~helix84
> >>>>>
> >>>>> Compulsory reading: DSpace Mailing List Etiquette
> >>>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Et