From c29beee957264bf8c86bb9c6d559c42edd95d6e6 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Mon, 16 Sep 2024 16:46:52 +1200 Subject: [PATCH 1/2] Upstream a xsl file to convert DSpace xoai to Solr compatible format Sponsored-by: Auckland University of Technology, New Zealand --- import/xsl/dspace-xoai.xsl | 164 +++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 import/xsl/dspace-xoai.xsl diff --git a/import/xsl/dspace-xoai.xsl b/import/xsl/dspace-xoai.xsl new file mode 100644 index 00000000000..d32e13d6fa9 --- /dev/null +++ b/import/xsl/dspace-xoai.xsl @@ -0,0 +1,164 @@ + + + DSpace + http + false + identifier + biblio + + + + :: NFD; :: lower; :: Latin; :: [^[:letter:] [:number:]] Remove; :: NFKC; + + + + + + + + + dspace + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 6a6f33c749c37bb4318069d1421604a5d5064471 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 18 Sep 2024 18:59:33 +1200 Subject: [PATCH 2/2] Add example import configuration for DSpace xoai format: Implementing review feedback - Removing unnecessary blank lines - Store DSpace item rights in Solr dynamic rights_str field - Update header comment - Store institution variable in institution field Sponsored-by: Auckland University of Technology, New Zealand --- import/xsl/dspace-xoai.xsl | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/import/xsl/dspace-xoai.xsl b/import/xsl/dspace-xoai.xsl index d32e13d6fa9..91a571d49ff 100644 --- a/import/xsl/dspace-xoai.xsl +++ b/import/xsl/dspace-xoai.xsl @@ -1,11 +1,15 @@ - + + + + My University DSpace http false @@ -26,10 +30,8 @@ dspace - - - - + + @@ -66,7 +68,6 @@ - @@ -118,17 +119,16 @@ - - + + - + # -