Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command extendedimport #781

Merged
merged 1 commit into from
Aug 29, 2017

Conversation

kosarko
Copy link
Member

@kosarko kosarko commented Aug 29, 2017

The simple archive format can now contain "bitstreamName_metadata_*.xml" files in the usual (item metadata) format. * in this case is a schema name

usage:

bin/dspace extendedimport -a -e kosarko@ufal.mff.cuni.cz -c 11858/00-097C-0000-0001-4877-A -s /tmp/import -m /tmp/mapfile

This will create a new item with two bitstreams and add metadata to that bitstream which is named "moses.ini";

$ ls -R /tmp/import/
/tmp/import/:
1

/tmp/import/1:
contents         license.txt  metadata_local.xml  moses.ini_metadata_local.xml
dublin_core.xml  Makefile     moses.ini

and moses.ini_metadata_local.xml:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<dublin_core schema="local">
  <dcvalue element="bitstream" qualifier="info" language="*">key1|value1</dcvalue>
  <dcvalue element="bitstream" qualifier="info" language="*">key2|value2</dcvalue>
</dublin_core>

@vidiecan is this still relevant?

The simple archive format can now contain "bitstreamName_metadata_*.xml" files in the usual (item metadata) format
@kosarko kosarko requested a review from vidiecan August 29, 2017 08:37
@vidiecan
Copy link

I think it can go to DSpace upstream as well (if the issue description is good enough for librarians to understand the technicalities)

@vidiecan vidiecan merged commit 7ec608e into ufal:clarin-dev Aug 29, 2017
@kosarko kosarko added this to the 2017.04 milestone Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants