Hi Monika,

On 11/08/2016 10:18 AM, Monika Mevenkamp wrote:
We are building a  document submission system in sharepoint, which collects pdfs and metadata - essentially 
At the end we plan to push the docs over to our DSPACE instance; version 5.5 

We’d like to use Sword instead of exporting to a shared filesystem and then uploading with  /dspace/bin/dspace import 
Items need to be put into the workflow of their destination collections. 

Where can I learn: 
How to put Zip files together - are the same kind of ZIPs that the item importer uses ? 
How to issue the import/deposit request ? 
How to define the destination collection ? 

Any example code anywhere ?

You can find lots of documentation on SWORD here, including specs: http://swordapp.org/

There's a github repository here: https://github.com/swordapp/

There is also a mailing list: https://lists.sourceforge.net/lists/listinfo/sword-app-tech

First of all you'll need to decide whether to use Sword v1 or Sword v2. v1 is fire-and-forget -- you deposit your Sword package and make no further changes to it. Sword v2 is designed to let you make changes to the item after deposit. v1 is simpler; we recently decided to go with v2 for a fire-and-forget application since there is a Java client library for v2 but not v1.

I fiddled a little with Sword and it looks like it assumes password authentication. Is that correct ?

That's right. For v1 at least (don't remember for v2) there is a config flag to let Sword deposits use password auth even if password auth isn't enabled for 'normal' users.

cheers,
Andrea

-- 
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120


--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to