From 4b8c67c42768631be610696dba22e91383b871dd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 9 May 2017 10:06:42 +0300 Subject: [PATCH] Add notes for 2017-05-09 --- content/post/2017-05.md | 9 +++++++++ public/2017-05/index.html | 16 +++++++++++++--- public/sitemap.xml | 10 +++++----- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/content/post/2017-05.md b/content/post/2017-05.md index 00265e88d..7a5f7f122 100644 --- a/content/post/2017-05.md +++ b/content/post/2017-05.md @@ -79,3 +79,12 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager - Help Marianne from WLE with an Open Search query to show the latest WLE CRP outputs: https://cgspace.cgiar.org/open-search/discover?query=crpsubject:WATER%2C+LAND+AND+ECOSYSTEMS&sort_by=2&order=DESC - This uses the webui's item list sort options, see `webui.itemlist.sort-option` in `dspace.cfg` - The equivalent Discovery search would be: https://cgspace.cgiar.org/discover?filtertype_1=crpsubject&filter_relational_operator_1=equals&filter_1=WATER%2C+LAND+AND+ECOSYSTEMS&submit_apply_filter=&query=&rpp=10&sort_by=dc.date.issued_dt&order=desc + +## 2017-05-09 + +- The CGIAR Library metadata has some blank metadata values, which leads to `|||` in the Discovery facets +- Clean these up in the database using: + +``` +dspace=# delete from metadatavalue where resource_type_id=2 and text_value='' +``` diff --git a/public/2017-05/index.html b/public/2017-05/index.html index eb86463d0..4718ce435 100644 --- a/public/2017-05/index.html +++ b/public/2017-05/index.html @@ -13,7 +13,7 @@ - + @@ -45,9 +45,9 @@ "@type": "BlogPosting", "headline": "May, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-05/", - "wordCount": "667", + "wordCount": "700", "datePublished": "2017-05-01T16:21:52+02:00", - "dateModified": "2017-05-09T00:43:02+03:00", + "dateModified": "2017-05-09T00:44:39+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -210,6 +210,16 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
  • The equivalent Discovery search would be: https://cgspace.cgiar.org/discover?filtertype_1=crpsubject&filter_relational_operator_1=equals&filter_1=WATER%2C+LAND+AND+ECOSYSTEMS&submit_apply_filter=&query=&rpp=10&sort_by=dc.date.issued_dt&order=desc
  • +

    2017-05-09

    + + + +
    dspace=# delete from metadatavalue where resource_type_id=2 and text_value=''
    +
    + diff --git a/public/sitemap.xml b/public/sitemap.xml index 869b9c386..059b01942 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2017-05/ - 2017-05-09T00:43:02+03:00 + 2017-05-09T00:44:39+03:00 @@ -99,7 +99,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-05-09T00:43:02+03:00 + 2017-05-09T00:44:39+03:00 0 @@ -110,19 +110,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-05-09T00:43:02+03:00 + 2017-05-09T00:44:39+03:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-05-09T00:43:02+03:00 + 2017-05-09T00:44:39+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-05-09T00:43:02+03:00 + 2017-05-09T00:44:39+03:00 0