Unsupported Release
This documentation relates to DSpace 1.8.x, an old, unsupported version. Looking for another version? See all documentation.
As of January 2015, DSpace 1.8.x is no longer supported. We recommend upgrading to a more recent version of DSpace. See DSpace Software Support Policy.
SWORD (Simple Web-service Offering Repository Deposit) is a protocol that allows the remote deposit of items into repositories. DSpace implements the SWORD protocol via the 'sword' web application. The version of SWORD currently supported by DSpace is 1.3. The specification and further information can be downloaded fromhttp://swordapp.org.
SWORD is based on the Atom Publish Protocol and allows service documents to be requested which describe the structure of the repository, and packages to be deposited.
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The property key tell the SWORD METS implementation which package ingester to use to install deposited content. This should refer to one of the classes configured for: plugin.named.org.dspace.content.packager.PackageIngester The value of sword.mets-ingester.package-ingester tells the system which named plugin for this interface should be used to ingest SWORD METS packages. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Define the metadata type EPDCX (EPrints DC XML)to be handled by the SWORD crosswalk configuration. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Define the stylesheet which will be used by the self-named XSLTIngestionCrosswalk class when asked to load the SWORD configuration (as specified above). This will use the specified stylesheet to crosswalk the incoming SWAP metadata to the DIM format for ingestion. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The base URL of the SWORD deposit. This is the URL from which DSpace will construct the deposit location URLs for collections. The default is {dspace.baseUrl}/sword/deposit. In the event that you are not deploying DSpace as the ROOT application in the servlet container, this will generate incorrect URLs, and you should override the functionality by specifying in full as shown in the example value. |
|||
Properties: |
{{sword.servicedocument.url }} |
|||
Example Value: |
{{sword.servicedocument.url = http://www.myu.ac.uk/sword/servicedocument_ |
|||
Informational Note: |
The base URL of the SWORD service document. This is the URL from which DSpace will construct the service document location URLs for the site, and for individual collections. The default is {dspace.baseUrl}/sword/servicedocument . In the event that you are not deploying DSpace as the ROOT application in the servlet container, this will generate incorrect URLs, and you should override the functionality by specifying in full as shown in the example value. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The base URL of the SWORD media links. This is the URL which DSpace will use to construct the media link URLs for items which are deposited via sword. The default is { |
|||
Properties: |
|
|||
Example Value: |
|
|||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d9385662-1f1c-48e1-b435-b6f5936bef40"><ac:plain-text-body><![CDATA[ |
Informational Note: |
The URL which identifies the sword software which provides the sword interface. This is the URL which DSpace will use to fill out the atom:generator element of its atom documents. The default is: {{[http://www.dspace.org/ns/sword/1.3.1_ |
[http://www.dspace.org/ns/sword/1.3.1_]]}}. If you have modified your sword software, you should change this URI to identify your own version. If you are using the standard dspace-sword module you will not, in general, need to change this setting. |
]]></ac:plain-text-body></ac:structured-macro> |
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The metadata field in which to store the updated date for items deposited via SWORD. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The metadata field in which to store the value of the slug header if it is supplied. |
|||
Properties: |
sword.accept-packaging.METSDSpaceSIP.identifier sword.accept-packaging.METSDSpaceSIP.q |
|||
Example Value: |
sword.accept-packaging.METSDSpaceSIP.identifier = http://purl.org/net/sword-types/METSDSpaceSIP sword.accept-packaging.METSDSpaceSIP.q = 1.0 |
|||
Informational Note: |
The accept packaging properties, along with their associated quality values where appropriate. This is a Global Setting; these will be used on all DSpace collections |
|||
Properties: |
sword.accept-packaging.[handle].METSDSpaceSIP.identifier sword.accept-packaging.[handle].METSDSpaceSIP.q |
|||
Example Value: |
sword.accept-packaging.[handle].METSDSpaceSIP.identifier = http://purl.org/net/sword-types/METSDSpaceSIP sword.accept-packaging.[handle].METSDSpaceSIP.q = 1.0 |
|||
Informational Note: |
Collection Specific settings: these will be used on the collections with the given handles. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Should the server offer up items in collections as sword deposit targets. This will be effected by placing a URI in the collection description which will list all the allowed items for the depositing user in that collection on request. NOTE: this will require an implementation of deposit onto items, which will not be forthcoming for a short while. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Should the server offer as the default the list of all Communities to a Service Document request. If false, the server will offer the list of all collections, which is the default and recommended behavior at this stage. NOTE: a service document for Communities will not offer any viable deposit targets, and the client will need to request the list of Collections in the target before deposit can continue. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The maximum upload size of a package through the sword interface, in bytes. This will be the combined size of all the files, the metadata and any manifest data. It is NOT the same as the maximum size set for an individual file upload through the user interface. If not set, or set to 0, the sword service will default to no limit. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Whether or not DSpace should store a copy of the original sword deposit package. NOTE: this will cause the deposit process to run slightly slower, and will accelerate the rate at which the repository consumes disk space. BUT, it will also mean that the deposited packages are recoverable in their original form. It is strongly recommended, therefore, to leave this option turned on. When set to "true", this requires that the configuration option upload.temp.dir above is set to a valid location. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
The bundle name that SWORD should store incoming packages under if sword.keep-original-package is set to true. The default is "SWORD" if not value is set |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Should the server identify the sword version in a deposit response. It is recommended to leave this unchanged. |
|||
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
Should mediated deposit via sword be supported. If enabled, this will allow users to deposit content packages on behalf of other users. |
|||
Properties: |
plugin.named.org.dspace.sword.SWORDingester |
|||
Example Value: |
plugin.named.org.dspace.sword.SWORDIngester = \ org.dspace.sword.SWORDMETSIngester = http://purl.org/net/sword-types/METSDSpaceSIP \ org.dspace.sword.SimpleFileIngester = SimpleFileIngester |
|||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="22442e2d-48bd-47ad-9cd6-0a6008ca8d69"><ac:plain-text-body><![CDATA[ |
Informational Note: |
Configure the plugins to process incoming packages. The form of this configuration is as per the Plugin Manager's Named Plugin documentation: {{plugin.named.[interface] = [implementation] = [package format identifier] }}. Package ingesters should implement the SWORDIngester interface, and will be loaded when a package of the format specified above in: {{sword.accept-packaging.[package format].identifier = [package format identifier]}}is received. In the event that this is a simple file deposit, with no package format, then the class named by "SimpleFileIngester" will be loaded and executed where appropriate. This case will only occur when a single file is being deposited into an existing DSpace Item. |
]]></ac:plain-text-body></ac:structured-macro> |
|
Properties: |
|
|||
Example Value: |
|
|||
Informational Note: |
A comma separated list of MIME types that SWORD will accept. |