From 4a9b4f2b280930d451c193e380fb3712d8d9cd6f Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 14 Apr 2017 15:56:19 +0300 Subject: [PATCH] Add notes for 2017-04-14 --- content/post/2017-04.md | 11 +++++++++++ public/2017-04/index.html | 18 +++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/content/post/2017-04.md b/content/post/2017-04.md index b6d511714..6e7f48338 100644 --- a/content/post/2017-04.md +++ b/content/post/2017-04.md @@ -193,3 +193,14 @@ sys 1m29.310s - After re-importing the CIFOR collection it looks *very* good! - It seems like they have done a full metadata migration with `dc.date.issued` and `cg.coverage.country` etc - Submit pull request to upstream DSpace for the PDF thumbnail bug (DS-3516): https://github.com/DSpace/DSpace/pull/1709 + +## 2017-04-14 + +- DSpace committers reviewed my patch for DS-3516 and proposed a simpler idea involving incorrect use of `SelfRegisteredInputFormats` +- I tested the idea and it works, so I made a new patch: https://github.com/DSpace/DSpace/pull/1709 +- I discovered that we can override metadata formats in OAI by creating a new "context": https://wiki.duraspace.org/display/DSDOC5x/OAI+2.0+Server +- This allows us to have, say a default "request" context and a "cgiar" context, both of which implement the DSpace Intermediate Metadata formats, but have the later use a overridden version that exposes CG metadata +- Compare the following results: + - https://dspacetest.cgiar.org/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai:dspacetest.cgiar.org:10568/6 + - https://dspacetest.cgiar.org/oai/cgiar?verb=GetRecord&metadataPrefix=dim&identifier=oai:dspacetest.cgiar.org:10568/6 +- Reboot DSpace Test server to get new Linode kernel diff --git a/public/2017-04/index.html b/public/2017-04/index.html index e23964f3e..16988e22c 100644 --- a/public/2017-04/index.html +++ b/public/2017-04/index.html @@ -79,7 +79,7 @@ $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Th "@type": "BlogPosting", "headline": "April, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-04/", - "wordCount": "1353", + "wordCount": "1451", "datePublished": "2017-04-02T17:08:52+02:00", "dateModified": "2017-04-13T16:17:33+03:00", "author": { @@ -381,6 +381,22 @@ sys 1m29.310s
  • Submit pull request to upstream DSpace for the PDF thumbnail bug (DS-3516): https://github.com/DSpace/DSpace/pull/1709
  • +

    2017-04-14

    + + +