Re: [EP-tech] Questions concerning SWORD

"Mattes, Verena via Eprints-tech" <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|3909986fe4ba3a034abd7d05fbecd8acv3OFZp14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]>
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.

Verena

-----Ursprüngliche Nachricht-----
Von: [email protected] <[email protected]> Im Auftrag von [email protected]
Gesendet: Donnerstag, 25. April 2019 13:00
An: [email protected]
Betreff: Eprints-tech Digest, Vol 127, Issue 27

Send Eprints-tech mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

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 <[email protected]>
Subject: Re: [EP-tech] Questions concerning SWORD
To: "[email protected]" <[email protected]>,
	"Mattes,	Verena" <[email protected]>
Message-ID: <[email protected]>
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


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




________________________________
From: [email protected] <[email protected]> on behalf of Mattes, Verena via Eprints-tech <[email protected]>
Sent: 24 April 2019 08:34
To: [email protected]
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: [email protected]


-------------- 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
[email protected]
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech


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

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.