SWORD (Simple Web-service Offering Repository Deposit). Deposit protocol. developed as part of the JISC Digital Repositories Programme. a lightweight web-service in four major repository software platforms: EPrints, DSpace, Fedora and IntraLibrary. a prototype ‘smart deposit’ tool will be developed to facilitate easier and more effective population of repositories. The project aims to improve the efficiency and quality of repository deposit and to diversity and expedite the options for timely population of repositories with content whilst promoting a common deposit interface and supporting the Information Environment principles of interoperability.
Unfortunately you have hit one of the limitations with the current DSpace SWORD implementations. Due to the way DSpace currently works, it does not generate an item handle until the item has completed its journey through the workflow(s). And to compound this problem, the media link will not return anything for items that are due to go through a workflow. It is probably worth submitting this as a bug in JIRA (jira.dspace.org) so that we can assess it for future releases. The first of these issues (and therefore the second too) may get fixed in 1.6 if we can find the effort required to port some previous work on the identifier system to 1.6 to ensure that all items are given item identifiers. If this work does not get incoroporated in 1.6, we could look at adding a new DSpace table to associate a new SWORD deposit ID with the final ID and return that to the user via the media link.
The SWORDAPP PHP client library is a PHP library designed to assist with the
creation of SWORD deposit tools. The client library allows PHP code to easily
make use of the two SWORD functions:
- GETting a Service Document
- POSTing a file into a repository
The library was originally written by Stuart Lewis (stuart@stuartlewis.com) as
part of the JISC funded SWORD2 project. Limited support for the library is
availble via the sword-app-tech email list:
- https://lists.sourceforge.net/lists/listinfo/sword-app-tech