EPrints Technical Mailing List Archive
Message: #08850
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] OAI Harvesting
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, Andy Reid <Andy.REID@lshtm.ac.uk>, James Kerwin <jkerwin2101@gmail.com>
- Subject: Re: [EP-tech] OAI Harvesting
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 20 Jan 2022 14:30:13 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi James, At a guess, it might have been added to create some disambiguation between authors of the same name, but in different departments - but that makes no sense, as it's using their IDs,
not names.
To answer your question - it looks like a data-quality issue. The following are *not* the same thing: setName Person = Molecular and
Clinical
Pharmacology setSpec 706572736F6E3D4D6F6C6563756C617220616E6420436C696E6963616C20506861726D61636F6C6F6779 setName Person = Molecular and
clinical
pharmacology setSpec 706572736F6E3D4D6F6C6563756C617220616E6420636C696E6963616C20706861726D61636F6C6F6779 setName Person =
Department of Molecular and Clinical Pharmacology setSpec 706572736F6E3D4465706172746D656E74206F66204D6F6C6563756C617220616E6420436C696E6963616C20506861726D61636F6C6F6779 NB the 'setSpec' is just the name represented as characters My guidance would be: - feed your weblogs through a tool to analyse the OAI-PMH requests, and see who's using what. If no one is using the 'person' sets, I think removing their definitions would speed your
OAI-PMH interface up. I guess they were added for a reason at some point though - hopefully someone somewhere will know something about them! - (possibly - based on the above) remove the 'Department' from that set definition. - add another set for 'divisions' based on the 'divisions' field you are using - on your test server add some sets for testing (see Andy's email) - this is a very useful approach for testing RT2
J Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andy Reid via Eprints-tech CAUTION: This e-mail originated outside the
University of Southampton. Hi James, When I was setting up RT2, I ignored the predefined sets in Elements, and created custom sets for testing and for production. I set up a cfg.d/zzz_symplectic_oai.pl, and split the production harvest
into full-text-public, full-text-restricted, and full-text-none (metadata-only). I forget the thinking behind that split, but it does cover everything, I believe. I’m not sure if $c->{oai}->{custom_sets}} is something that is set up and parsed by default, or if you might need to enable that first. It was there, and I could edit it, so I did. ############################## PRODUCTION SETS #################################################### # # These are used in earnest by Symplectic Repository Tools 2
# #################################################################################################### push @{$c->{oai}->{custom_sets}}, { spec => "full_text_none", name => "full_text_none", filters => [ { meta_fields => [ "full_text_status" ], value=>"none", match=>"IN", merge=>"ANY" }, { meta_fields => [ "eprint_status" ], value=>"archive", match=>"IN", merge=>"ANY" }, -- live records only, not in review or deleted ] }; push @{$c->{oai}->{custom_sets}}, { spec => "full_text_public", name => "full_text_public", filters => [ { meta_fields => [ "full_text_status" ], value=>"public", match=>"IN", merge=>"ANY" }, { meta_fields => [ "eprint_status" ], value=>"archive", match=>"IN", merge=>"ANY" }, ] }; push @{$c->{oai}->{custom_sets}}, { spec => "full_text_restricted", name => "full_text_restricted", filters => [ { meta_fields => [ "full_text_status" ], value=>"restricted", match=>"IN", merge=>"ANY" }, { meta_fields => [ "eprint_status" ], value=>"archive", match=>"IN", merge=>"ANY" }, ] }; For testing I had a variety of scratch sets, using named users, years, or lists of Eprint IDs:
e.g. NAMED USER: push @{$c->{oai}->{custom_sets}}, { spec => "symplectic_andy_email", name => "symplectic_andy_email", filters => [ { meta_fields => [ "creators_id" ], value=>"andy REID lshtm", match=>"IN", merge=>"ALL" }, ] }; SPECIFIC RECORDS: push @{$c->{oai}->{custom_sets}}, { spec => "symplectic_test", name => "symplectic_test", filters => [ { meta_fields => [ "eprintid" ], value=>" 4645869
4645797
4645491
4645719
4645785 4363558 4398757 4433720
3451639
2783042
19260 1924927
333704 3172489 3174428 1878135 4646586 4645489 4647623 4647670 ", match=>"IN",
merge=>"ANY" }, ] }; #4645869 = article, OA, 2017 #4645797 = conference item, 2017 #4645491 = thesis, 2017 #4645719 = monograph #4645458 = other, OA guide , library #4363558 = book section [now recoded to article] #4398757 = [Accepted manuscript] of 4363558 #3451639 = podcast #2783042 = video #2869451 = dataset #19260 = patent #1924927 = image #333704 = artefact # 4646586 exhibition #http://researchonline.lshtm.ac.uk/4645489/ Teaching Resource #3172489 = [Accepted Manuscript] #3174428 = Final version of above #1878135/ = [Inc; Grosskurth, H;] Manually added author
MULTIPLE FILTERS: push @{$c->{oai}->{custom_sets}}, { spec => "full_text_public_live_patel2016", name => "full_text_public_live_patel2016", filters => [ { meta_fields => [ "eprint_status" ], value=>"archive", match=>"IN", merge=>"ANY" }, { meta_fields => [ "full_text_status" ], value=>"public", match=>"IN", merge=>"ANY" }, { meta_fields => [ "view_date" ], value=>"2016", match=>"IN", merge=>"ANY" },
{ meta_fields => [ "creators_id" ], value=>"vikram patel lshtm", match=>"IN", merge=>"ALL" }, -- matches
Vikram.patel@lshtm.ac.uk ] }; Hope that is useful Andy From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech
<eprints-tech@ecs.soton.ac.uk> *** This message originated outside LSHTM *** CAUTION: This e-mail originated outside the
University of Southampton. Hi All, We're setting up RT2 (Elements) at the moment and working through some bugs. This is not a specific EPrints problem, but I'm hoping the collective wisdom of those here can provide some clarity... In our OAI ListSets pages it has become apparent that we have duplicate sets. We appear to have a peculiar setup whereby we have : $oai->{sets} = [ This puts department in the person set. We don't even use department in our current EPrints records (we have Divisions which I've spoken about a LOT previously). What I'm curious about is: 1) How do duplicate sets come about? I thought the idea of a set would be if items have the same value they would be in the same set. 2) Is there any easy way to identify the duplicate sets? Somebody from Symplectic that I'm working with was kind enough to point them out on our live repository and sure enough if I ctrl+f for "Molecular and Clinical Pharmacology" on
https://livrepository.liverpool.ac.uk/cgi/oai2?verb=ListSets it appears twice. I've tried to learn about OAI, but it does unfortunately make my brain scream because I just do not understand it properly. Thanks, James |
- Follow-Ups:
- Re: [EP-tech] OAI Harvesting
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] OAI Harvesting
- References:
- [EP-tech] OAI Harvesting
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] OAI Harvesting
- From: "Andy Reid" <Andy.REID@lshtm.ac.uk>
- Re: [EP-tech] OAI Harvesting
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] OAI Harvesting
- Prev by Date: Re: [EP-tech] Add User Data in IRStats2
- Next by Date: [EP-tech] ePrints with Vhost
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):