Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A variety of SWORDv1 Clients (in various languages/tools) are available off of http://swordapp.org/sword-v1/
  • The DSpace XMLUI also comes with an optional SWORDv1 Client which can be enabled to deposit content from one DSpace to another.
  • An example SWORDv1 ZIP package is available in the DSpace Codebase at: https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-sword/example
  • Finally, it's also possible to simply deposit a valid SWORD Zip package via common Linux commandline tools (e.g. curl). For example:

    Code Block
    # Deposit a SWORD Zip package named "sword-package.zip" into a DSpace Collection (handle 123456789/2) as user "test@dspace.org"
    # (Please note that you WILL need to obviously modify the Collection location, user/password and name of the SWORD package)
     
    curl -i --data-binary "@sword-package.zip" -H "Content-Disposition:filename=sword-package.zip" -H "Content-Type:application/zip" -H "X-Packaging:http://purl.org/net/sword-types/METSDSpaceSIP" -u test@dspace.org:[password] http://[dspace.url]/sword/deposit/123456789/2
    
    # Template 'curl' command:
    #curl -i --data-binary "@[zip-package-name]" -H "Content-Disposition:filename=[zip-package-name]" -H "Content-Type:application/zip" -H "X-Packaging:http://purl.org/net/sword-types/METSDSpaceSIP" -u [user]:[password] http://[dspace.url]/sword/deposit/[collection-handle]


...