Skip to content

Commit

Permalink
Fixes #7 (consistent use fo trailing full-stops in thesis types)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusbagpuss committed Sep 12, 2017
1 parent e2b79e5 commit 87ad25e
Show file tree
Hide file tree
Showing 4 changed files with 595 additions and 584 deletions.
31 changes: 19 additions & 12 deletions cfg/cfg.d/z_oai_uketd_dc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@
###################################################################################

#$c->{plugins}->{"Export::OAI_UKETD_DC_2017"}->{params}->{thesis_type_to_qualname} = {
# phd => "Ph.D.",
# engd => "Eng.D.",
# edd => "Ed.D",
# dclinpsy => "D.Clin.Psy",
# mphil => "M.Phil.",
# phd => "Ph.D.",
# engd => "Eng.D.",
# edd => "Ed.D.",
# dclinpsy => "D.Clin.Psy.",
# md => "M.D.",
# mphil => "M.Phil.",
# mres => "M.Res.",
# ma => "M.A.",
# msc => "M.Sc.",
# llm => "L.L.M.",
#};

###################################################################################
Expand All @@ -51,14 +56,16 @@
###################################################################################

#$c->{plugins}->{"Export::OAI_UKETD_DC_2017"}->{params}->{thesis_type_to_quallevel} = {
# phd => "doctoral",
# engd => "doctoral",
# mphil => "doctoral",
# edd => "doctoral",
# phd => "doctoral",
# engd => "doctoral",
# edd => "doctoral",
# dclinpsy => "doctoral",
# mphil => "doctoral",
# ### example for 'masters' level ###
# meng => "masters",
# md => "doctoral",
# mphil => "masters",
# mres => 'masters',
# ma => 'masters',
# msc => 'masters',
# llm => 'masters',
#};


Expand Down
12 changes: 6 additions & 6 deletions lib/plugins/EPrints/Plugin/Export/OAI_UKETD_DC_2017.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ $DEFAULT{thesis_type_to_qualname} = {
phd => "Ph.D.",
engd => "Eng.D.",
edd => "Ed.D.",
dclinpsy => "D.Clin.Psy",
dclinpsy => "D.Clin.Psy.",
md => "M.D.",
mphil => "M.Phil",
mres => "M.Res",
ma => "M.A",
msc => "M.Sc",
llm => "L.L.M",
mphil => "M.Phil.",
mres => "M.Res.",
ma => "M.A.",
msc => "M.Sc.",
llm => "L.L.M.",
};


Expand Down
Loading

0 comments on commit 87ad25e

Please sign in to comment.