EPrints Technical Mailing List Archive
Message: #01657
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Swordapp PHP Client
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Swordapp PHP Client
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Date: Wed, 06 Mar 2013 10:03:13 +0000
On 05/03/13 19:23, gill k.n. (kng1g10) wrote:
Hi, I am trying to use the Swordapp version 2 PHP client to deposit resources to EPrints 3.3 externally. I have looked through the documentation and although the client allows me to deposit resources, the status in EPrints for the resource remains as "user workarea", whereas I would prefer for it be "under review". I've tried adding "<category scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" term="archive"/>" , as stated in the service document, to the xml file associated with the package I am attempting to upload. I would really appreciate it if you could suggest how to solve this issue?
Further to John's answer (and caveat - I'm not that familar with EPrints 3.3 and SWORD 2.0... but SWORD 1.3 & EPrints 3.2 I'm good on)
load http://your.repo.address/sword-app/servicedocument and look at the file that comes back. Near the bottom it should have:
<atom:category scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" term="inbox"/> <atom:category scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" term="buffer"/> <atom:category scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" term="archive"/> <atom:category scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" term="deletion"/>
"inbox" is the users private space, "archive" is the public ("live") space... you want "buffer"
-- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- References:
- [EP-tech] Swordapp PHP Client
- From: "gill k.n. (kng1g10)" <kng1g10@ecs.soton.ac.uk>
- [EP-tech] Swordapp PHP Client
- Prev by Date: [EP-tech] call for posters at OAI8 in Geneva 19-21 June 2013
- Next by Date: [EP-tech] EPrints 3.3.10 - missing phrase
- Previous by thread: [EP-tech] Re: Swordapp PHP Client
- Next by thread: [EP-tech] call for posters at OAI8 in Geneva 19-21 June 2013
- Index(es):