<div dir="ltr">Hi Folks,<div><br></div><div>We&#39;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&#39;m encountering a few oddities, though, and I wonder if someone can clarify how that endpoint works for me?</div><div><br></div><div>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 &quot;main.bin&quot;.  Perhaps I&#39;m missing some crosswalk configuration?</div><div><br></div><div><a href="http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_entry">http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_entry</a><br></div><div><br></div><div>2/ My service document says:</div><div><br></div><div>&lt;acceptPackaging&gt;<a href="http://purl.org/net/sword/package/Binary">http://purl.org/net/sword/package/Binary</a>&lt;/acceptPackaging&gt;<br></div><div><br></div><div>But when I PUT a file of this format tot he media resource I get a &quot;package format not supported&quot; error.</div><div><br></div><div>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?</div><div><br></div><div>3/ Completing deposit doesn&#39;t appear to work.  When I POST to the eprint&#39;s Edit-IRI, I get a 405 Method Not Allowed, but it should update the eprint</div><div><br></div><div><a href="http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#continueddeposit_complete">http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#continueddeposit_complete</a><br></div><div><br></div><div><br></div><div>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? <a href="http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_multipart">http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html#protocoloperations_creatingresource_multipart</a></div><div><br></div><div>Any tips/pointers much appreciated.</div><div><br></div><div>Cheers,</div><div><br></div><div>Richard<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><br></div>Richard Jones, <div><br></div><div>Founder, Cottage Labs <div>t: @richard_d_jones, @cottagelabs</div><div>w: <a href="http://cottagelabs.com" target="_blank">http://cottagelabs.com</a><br><div><br></div></div></div></div>
</div></div>