Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update configs based on Commons Config

...

At present this functionality has only been developed for the XMLUI and is disabled by default.

Table of Contents
minLevel2
outlinetrue
stylenone

Enabling the SWORD Client

To enable the SWORD Client uncomment the SwordClient Aspect in [dspace]/config/xmlui.xconf file.

Code Block

<aspect name="SwordClient" path="resource://aspects/SwordClient/" />

...

All the relevant configuration can be found in sword-client.cfg. These may be overridden in your local.cfg config (see Configuration Reference).

Configuration File:

[dspace]/config/modules/sword-client.cfg

Property:

sword-client.targets

Example value:

Code Block
sword-client.targets = http://localhost:8080/sword/servicedocument, \
   http://client.swordapp.org/client/servicedocument, \  
   http://dspace.swordapp.org/sword/servicedocument, \ 
   http://sword.eprints.org/sword-app/servicedocument, \ 
   http://sword.intralibrary.com/IntraLibrary-Deposit/service, \  
   http://fedora.swordapp.org/sword-fedora/servicedocument

Informational note:

List of remote Sword servers. Used to build the drop-down list of selectable SWORD targets.

Property:

sword-client.file-types

Example value:

sword-client.file-types = application/zip

Informational note:

List of file types from which the user can select. If a type is not supported by the remote server
it will not appear in the drop-down list.

Property:

sword-client.package-formats

Example value:

Code Block
sword-client.package-formats = http://purl.org/net/sword-types/METSDSpaceSIP

Informational note:

List of package formats from which the user can select. If a format is not supported by the remote server
it will not appear in the drop-down list.