% /* * * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at license/ESCIDOC.LICENSE * or http://www.escidoc.de/license. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at license/ESCIDOC.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2006-2010 Fachinformationszentrum Karlsruhe Gesellschaft * für wissenschaftlich-technische Information mbH and Max-Planck- * Gesellschaft zur Förderung der Wissenschaft e.V. * All rights reserved. Use is subject to license terms. */ %>
The SWORD Depositing Service is an interface for depositing items from external servers into the eSciDoc repository.
The SWORD servicedocument describes the collections a user can deposit to. (User credentials have to be provided)
Attributes which can be set in the http header:
sword:verbose - Sets the verbose output
sword:noOp - Sets the test deposit option (item will be processed but not saved)
Exemplary Servicedocument:
<service>
<sword:level>0</sword:level>
<sword:verbose>false</sword:verbose>
<sword:noOp>true</sword:noOp>
<workspace>
<atom:title type="text">PubMan SWORD Workspace</atom:title>
<collection href="escidoc:123">
<atom:title type="text">Test SWORD Deposit</atom:title>
<accept>application/zip</accept>
<sword:collectionPolicy>Simple work flow</sword:collectionPolicy>
<dcterms:abstract>This is a test collection for SWORD depositing. The policy is: no policy at this time.</dcterms:abstract>
<sword:mediation>false</sword:mediation>
<sword:treatment>Zip archives recognised as content packages are opened and the individual files contained in them are stored.</sword:treatment>
<sword:acceptPackaging >http://purl.org/net/sword-types/tei/peer</sword:acceptPackaging >
<sword:acceptPackaging >http://purl.org/escidoc/metadata/schemas/0.1/publication </sword:acceptPackaging >
<sword:acceptPackaging >bibTex</sword:acceptPackaging >
<sword:acceptPackaging >EndNote</sword:acceptPackaging >
</collection>
</workspace>
</service>
You already have an eSciDoc account for PubMan? Check out your Servicedocument here.
One can deposit publication data to PubMan by calling the deposit servlet. (User credentials and collection identifier have to be provided)
For detailed information about parameters, error codes etc. please check out the PubMan SWORD description in CoLab.