EPrints Technical Mailing List Archive

Message: #07805

< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Questions concerning SWORD

Hi Liam,

Thank you for your response, it led me to the right place to look for the solution.

I now understand that the service document is generated via the CRUD module and necessary changes would have to be made there. I had tried the link sword-app/servicedocument on one of our test servers and it did not work. When I tried it today on our repository itself, it worked perfectly. It took me quite a while to find a possible cause for this and I think it must have been the oai.pl file I had copied from one archive to the other without changing the url for the metadata policy. Now the SWORD2 interface works for both repositories.


-----Ursprüngliche Nachricht-----
Von: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> Im Auftrag von eprints-tech-request@ecs.soton.ac.uk
Gesendet: Donnerstag, 25. April 2019 13:00
An: eprints-tech@ecs.soton.ac.uk
Betreff: Eprints-tech Digest, Vol 127, Issue 27

Send Eprints-tech mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eprints-tech digest..."

Today's Topics:

   1. Re: Questions concerning SWORD (Liam Green-Hughes)


Message: 1
Date: Wed, 24 Apr 2019 14:40:03 +0000
From: Liam Green-Hughes <L.E.Green-Hughes@kent.ac.uk>
Subject: Re: [EP-tech] Questions concerning SWORD
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>,
	"Mattes,	Verena" <Verena.Mattes@uni-bayreuth.de>
Message-ID: <1556116802838.43455@kent.ac.uk>
Content-Type: text/plain; charset="iso-8859-1"

Hi Verena,

We use the SWORD2 interface here at Kent with the JISC PubRouter and internally for thesis deposit. I've found that the implementation in EPrints doesn't work exactly as the the SWORD specification says, but will work. A basic way to use it is to HTTP POST the EPrints XML to the location identified by the "SwordDeposit" link that can be seen in the HTML code for a page in your repository (usually https://[repository]/id/contents<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkar.kent.ac.uk%2Fid%2Fcontents&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc84a56724b6749955f5d08d6c98b44fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=aLTLcArfb2hN%2FGcOFQarlpbqeJrZsFLsnuJKeXFIQzU%3D&amp;reserved=0> ). You will also need to send credentials. The endpoint will return an XML response with the allocated ID in it.

Hope this helps


Liam Green-Hughes | Library Systems Developer
Learning and Research Development, Information Services, University of Kent

From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Mattes, Verena via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 24 April 2019 08:34
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Questions concerning SWORD

Hi all,

Here in Bayreuth, some of my colleagues are interested in participating in a beta test of the DFG-funded project DeepGreen (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeepgreen.kobv.de%2Fen%2Fproject-deepgreen%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc84a56724b6749955f5d08d6c98b44fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=krJIMR2AElxdnDDeOZQiptallTrOxKBhJg5bvVXfEEk%3D&amp;reserved=0), a service based on the Jisc Publications Router. The DeepGreen Prototype uses the SWORD2 interface, something I have no experience with.
As far as I know, SWORD2 is part of the default EPrints installation for our Eprints 3.3.15 release. In the EPrints Wiki, I've found something about a default location for the servicedocument, /sword-app/servicedocument. So, would it be the right way to first create the directory sword-app (where?) and then create the file servicedocument? I guess I would use the example on the Wiki page (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSWORD_2.0%23servicedocument&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc84a56724b6749955f5d08d6c98b44fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=aUk%2BPwch0h1tJQqSonNNibesQuPk1RD0OgWs0juN5qE%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSWORD_2.0%23servicedocument&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc84a56724b6749955f5d08d6c98b44fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=aUk%2BPwch0h1tJQqSonNNibesQuPk1RD0OgWs0juN5qE%3D&amp;reserved=0>) as a template for our file. Or would it be possible to get a service document from one of you as a template?
Is there something else that I would have to consider before agreeing to take part in the tests? The format of the metadata that is delivered by DeepGreen is still to be determined, but I would expect it to be possible to get it as EPrints XML.

If somebody has experience with the Jisc Publications Router and would like to share it, I would be interested in hearing about that, too.

Thanks in advance for your help.

Verena Mattes

Dep. Digital Library
Bayreuth University Library
Phone: 0049-921-553452
Mail: verena.mattes@uni-bayreuth.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190424/fbb03f4c/attachment-0001.html 


Eprints-tech mailing list

End of Eprints-tech Digest, Vol 127, Issue 27