SWORD guide
From DigiRepWiki
Contents |
Overview
SWORD is a six-month JISC-funded project to define and develop a standard mechanism for depositing into repositories and other systems. Why? because currently there is no standard way of doing this. A standard deposit interface to repositories will allow more services to be built which can offer functionality such as deposit from multiple locations, e.g. disparate repositories, desktop drag'n'drop tools or from within standard office applications. SWORD can also facilitates deposit to multiple repositories, increasingly important for depositors who wish to deposit to funder, institutional or subject repositories. Other possibilities include migration of content between repositories, transfer to preservation services and many more.
Profile
Rather than develop a new standard from scratch, SWORD choose to leverage the existing Atom Publishing Protocol (APP), "an application-level protocol for publishing and editing Web resources". APP is based on the HTTP transfer of Atom-formatted representations yet SWORD has focussed on two key aspects of the protocol - the deposit of files, rather than Atom documents, and the extension mechanism for specifying additional deposit parameters. Also worth noting is that SWORD does not specify the implementation of all of the functionality of APP, rather it supports deposit only - implementations are free to support update and delete if they wish but this is out of the SWORD remit.
Outputs
1) a profile of APP which implementers can use to create SWORD deposit clients or SWORD interfaces into repositories, where the client will 'do' the deposit and the interface will accept it.
2) test implementations of the SWORD interface in DSpace, EPrints, IntraLibrary and Fedora to demonstrate the efficacy of the SWORD approach.
3) two demonstration clients which can be used to deposit into the implementations at 2) or into any other SWORD-compliant implementations
4) code for use with DSpace, Fedora, EPrints and the demonstration client
Using SWORD
Depositing is a two-stage process within APP and SWORD. First, a request from an authenticated user is sent to the implementation for what APP calls the 'service document', this returns details of the collections that user is allowed to deposit to within the repository. At this point, the user may deposit their file into the chosen collection. Various things may prevent success, for example lack of authentication credentials, unacceptable file format or a corrupt MD5 checksum. The repository will send a respond indicating the success, or otherwise of the deposit.
For additional information and help, see the SWORD_APP_Profile. The SWORD demonstration client also contains a help section. For information on how to access the implementations and clients, see the SWORD access page. To download the client and code, see the SWORD downloads page.

