From e6904be23cb0d2b7e8d99fbba2c9398075dcdda1 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 29 Aug 2019 19:25:06 +0300 Subject: [PATCH] Update notes for 2019-08-29 --- content/posts/2019-08.md | 26 ++++++++++++++++++++++ docs/2019-08/index.html | 47 +++++++++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 ++++----- 3 files changed, 75 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-08.md b/content/posts/2019-08.md index d557391f4..9f49fcc20 100644 --- a/content/posts/2019-08.md +++ b/content/posts/2019-08.md @@ -312,4 +312,30 @@ $ ./fix-metadata-values.py -i /tmp/authors.csv -db dspace -u dspace -p 'fuuu' -f - I very well might run these on CGSpace soon... +## 2019-08-29 + +- Resume working on the CG Core v2 changes in the `5_x-cgcorev2` branch again + - I notice that CG Core doesn't currently have a field for CGSpace's "alternative title" (`dc.title.alternative`), but DCTERMS has `dcterms.alternative` so I [raised an issue about adding it](https://github.com/AgriculturalSemantics/cg-core/issues/9) + - Marie responded and said she would add `dcterms.alternative` + - I created a sed script file to perform some replacements of metadata on the XMLUI XSL files: + +``` +$ find dspace/modules/xmlui-mirage2/src/main/webapp/themes -iname "*.xsl" -exec ./cgcore-xsl-replacements.sed {} \; +``` + +- I think I got everything in the XMLUI themes, but there may be some things I should check once I get a deployment up and running: + - Need to assess the XSL changes to see if things like `not(@qualifier)]` still make sense after we move fields from DC to DCTERMS, as some fields will no longer have qualifiers + - Do I need to edit the author links to remove `dc.contributor.author` in `0_CGIAR/xsl/aspect/artifactbrowser/item-list-alterations.xsl`? + - Do I need to edit the author links to remove `dc.contributor.author` in `0_CGIAR/xsl/aspect/discovery/discovery-item-list-alterations.xsl`? +- Thierry Lewadle asked why some PDFs on CGSpace open in the browser and some download + - I told him it is because of the "content disposition" that causes DSpace to tell the browser to open or download the file based on its file size (currently around 8 megabytes) +- Peter asked why [an item on CGSpace](https://hdl.handle.net/10568/97825) has no Altmetric donut on the item view, but has one in our explorer + - I looked in the network requests when loading the CGSpace item view and I see the following response to the Altmetric API call: + +``` +"handles":["10986/30568","10568/97825"],"handle":"10986/30568" +``` + +- So this is the same issue we had before, where Altmetric *knows* this Handle is associated with a DOI that has a score, but the client-side JavaScript code doesn't show it because it seems to a secondary handle or something + diff --git a/docs/2019-08/index.html b/docs/2019-08/index.html index fe7fb88c3..4e42fca94 100644 --- a/docs/2019-08/index.html +++ b/docs/2019-08/index.html @@ -27,7 +27,7 @@ Run system updates on DSpace Test (linode19) and reboot it - + @@ -59,9 +59,9 @@ Run system updates on DSpace Test (linode19) and reboot it "@type": "BlogPosting", "headline": "August, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-08\/", - "wordCount": "2233", + "wordCount": "2523", "datePublished": "2019-08-03T12:39:51\x2b03:00", - "dateModified": "2019-08-28T11:19:52\x2b03:00", + "dateModified": "2019-08-29T01:24:23\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -538,6 +538,47 @@ COPY 65597
  • I very well might run these on CGSpace soon…

  • +

    2019-08-29

    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 63cd6b011..f12fcfb55 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/2019-08/ - 2019-08-28T11:19:52+03:00 + 2019-08-29T01:24:23+03:00 https://alanorth.github.io/cgspace-notes/ - 2019-08-28T11:19:52+03:00 + 2019-08-29T01:24:23+03:00 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-08-28T11:19:52+03:00 + 2019-08-29T01:24:23+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2019-08-28T11:19:52+03:00 + 2019-08-29T01:24:23+03:00 https://alanorth.github.io/cgspace-notes/tags/ - 2019-08-28T11:19:52+03:00 + 2019-08-29T01:24:23+03:00