EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04594
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Some questions about SWORDv2/CRUD endpoint
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Some questions about SWORDv2/CRUD endpoint
- From: Richard Jones <richard@cottagelabs.com>
- Date: Fri, 28 Aug 2015 09:32:26 +0100
Hi Folks,
We're currently working on a new version of the Jisc Publications Router, and am looking into how best to put the content into an EPrints via SWORDv2. I'm encountering a few oddities, though, and I wonder if someone can clarify how that endpoint works for me?
1/ Posting an atom entry document to /id/content should result in the creation of a new eprint populated with the metadata from that document, but instead it creates an eprint with no metadata and the atom xml attached as a file called "main.bin". Perhaps I'm missing some crosswalk configuration?
2/ My service document says:
<acceptPackaging>http://purl.org/net/sword/package/Binary</acceptPackaging>
But when I PUT a file of this format tot he media resource I get a "package format not supported" error.
Also, it does not say that it supports SimpleZip, but if I PUT a SimpleZip it works fine. Is there a place that I can customise the accept/acceptPackaging entries in the service document?
3/ Completing deposit doesn't appear to work. When I POST to the eprint's Edit-IRI, I get a 405 Method Not Allowed, but it should update the eprint
Looking at the code, with my limited Perl skills, it looks like the full SWORDv2 protocol is not supported - is there some documentation that will tell me what features are supported? For example, does multipart deposit work? http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_multipart
Any tips/pointers much appreciated.
Cheers,
Richard
--
- Prev by Date: [EP-tech] Relevance ranking for Simple and Advanced Search
- Next by Date: [EP-tech] Re: Some questions about SWORDv2/CRUD endpoint
- Previous by thread: [EP-tech] Relevance ranking for Simple and Advanced Search
- Next by thread: [EP-tech] Re: Some questions about SWORDv2/CRUD endpoint
- Index(es):