EPrints Technical Mailing List Archive
Message: #04718
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Merging two eprints using 'succeeds'
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Merging two eprints using 'succeeds'
- From: "Andy Reid" <Andy.Reid@lshtm.ac.uk>
- Date: Mon, 21 Sep 2015 15:11:08 +0100
Hi, I'm trying to work out how to thread two eprints so that I can merge the Accepted Manuscript record with Final published version, given that I have two separate systems feeding into the repository - one feeding Manuscripts, one harvesting published metadata from PubMed etc. I've looked at what happens when you create a linked new version of a record, with the <succeeds> set on the new record, and <metadata_visibility> set to no-search on the old one. I'm in the slightly different position of wanting to merge two records once they are in the repository, but it seems like those are the fields I need to tweak. I've looked at the code in https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/DataObj/EPrint.pm to see the various in_thread manipulation functions, and can just about follow them. What I can't find is an admin utility that says 'Merge these two records, making this one the version of record, and retaining that one as an earlier version.' Am I not looking hard enough? What I might also want to do is to trigger this from the external systems, via SWORD, sending a couple of minimal XML packages to modify each of the records: <?xml version="1.0" encoding="UTF-8"?> <eprints xmlns="http://eprints.org/ep2/data/2.0"><eprint id="http://blah.ac.uk/id/eprint/991329">Andy Reid
Research Information Manager
Room G43, Executive Office
London School of Hygiene & Tropical Medicine
Keppel St
LONDON WC1E 7HT
+44 020-7927-2618
|
- Prev by Date: [EP-tech] Re: https and $session->config('userhome')
- Next by Date: [EP-tech] Re: Eprints-tech Digest, Vol 84, Issue 49
- Previous by thread: [EP-tech] ePrints installations
- Next by thread: [EP-tech] Re: Merging two eprints using 'succeeds'
- Index(es):