From 1bbd6355e520e222629c11360dddbcd4ba88275e Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 26 Sep 2021 22:16:39 +0300 Subject: [PATCH] Add notes for 2021-09-26 --- content/posts/2021-09.md | 17 +++++++++++++ docs/2021-09/index.html | 32 +++++++++++++++++++++---- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/categories/notes/page/5/index.html | 2 +- docs/categories/notes/page/6/index.html | 2 +- docs/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/page/8/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/posts/page/8/index.html | 2 +- docs/sitemap.xml | 10 ++++---- 26 files changed, 73 insertions(+), 32 deletions(-) diff --git a/content/posts/2021-09.md b/content/posts/2021-09.md index 2334068b9..6f167092c 100644 --- a/content/posts/2021-09.md +++ b/content/posts/2021-09.md @@ -288,4 +288,21 @@ localhost/dspace63= > UPDATE metadatavalue SET text_value=INITCAP(text_value) WH localhost/dspace63= > UPDATE metadatavalue SET text_value='NGOs' WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id=144 AND text_value = 'NGOS'; ``` +- Update submission form comment for DOIs because it was still recommending people use the "dx.doi.org" format even though I batch updated all DOIs to the "doi.org" format a few times in the last year + - Then I updated all existing metadata to the new format again: + +```console +dspace=# UPDATE metadatavalue SET text_value = regexp_replace(text_value, 'https://dx.doi.org', 'https://doi.org') WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id = 220 AND text_value LIKE 'https://dx.doi.org%'; +UPDATE 49 +``` + +## 2021-09-26 + +- Mohammed Salem told me last week that MELSpace and WorldFish have been upgraded to DSpace 6 so I updated the repository setup in AReS to use the UUID field instead of IDs + - This could explain how I had problems harvesting last week, when I only had 90,000 items... +- I started a fresh harvest on AReS + - I realized that the sitemap on MELSpace is missing so AReS skips it, which means we cannot harvest right now... ouch + - I sent a message to Salem and he fixed it quickly + - I added WorldFish's DSpace Statistics API instance to AReS before starting the plugins and now our numbers are much higher, nice! + diff --git a/docs/2021-09/index.html b/docs/2021-09/index.html index 08eb32d5e..c2a0169a1 100644 --- a/docs/2021-09/index.html +++ b/docs/2021-09/index.html @@ -26,7 +26,7 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu - + @@ -58,9 +58,9 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu "@type": "BlogPosting", "headline": "September, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-09/", - "wordCount": "2030", + "wordCount": "2210", "datePublished": "2021-09-01T09:14:07+03:00", - "dateModified": "2021-09-23T18:32:47+03:00", + "dateModified": "2021-09-24T14:24:00+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -452,7 +452,31 @@ $ wc -l /tmp/subregions-matched.txt
localhost/dspace63= > UPDATE metadatavalue SET text_value=INITCAP(text_value) WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id=144 AND text_value != 'NGOS' AND text_value != 'CGIAR';
 localhost/dspace63= > UPDATE metadatavalue SET text_value='NGOs' WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id=144 AND text_value = 'NGOS';
-
+ +
dspace=# UPDATE metadatavalue SET text_value = regexp_replace(text_value, 'https://dx.doi.org', 'https://doi.org') WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id = 220 AND text_value LIKE 'https://dx.doi.org%';
+UPDATE 49
+

2021-09-26

+ + diff --git a/docs/categories/index.html b/docs/categories/index.html index 0d6dd7eae..fe6201c20 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 706839f8d..bfaf784b1 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 5b91ad5b4..17aaff387 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 2a4376618..8b4b4a1a7 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 4405c6e7d..1cf1db294 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 1b38833f7..772c9a054 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 51481c44d..4d327245a 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 1558f0306..227ccd764 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index cb3b8a567..966867d8d 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 151d49fd3..37a9f498b 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 20f6d0cdc..d293f90a3 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 663fb7161..64ff653bc 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 98fbeda6e..233d3ad4d 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 50c84df14..472e24b18 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 2fb129b56..7d68c2ed4 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index b11b76a03..d5970a5da 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index d0f0f8c2a..d72cc081a 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index ea0ba95fb..2ce117d5b 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 889ed5cf2..50dd72057 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index b0a59b639..90f4812b9 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 90176b9f6..930328732 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index cf7974358..c9fdd9e5f 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index 19fe5bbb3..ab565c9b2 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index d1d2d6e37..df34537c6 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2021-09-23T18:32:47+03:00 + 2021-09-24T14:24:00+03:00 https://alanorth.github.io/cgspace-notes/ - 2021-09-23T18:32:47+03:00 + 2021-09-24T14:24:00+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-09-23T18:32:47+03:00 + 2021-09-24T14:24:00+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-09-23T18:32:47+03:00 + 2021-09-24T14:24:00+03:00 https://alanorth.github.io/cgspace-notes/2021-09/ - 2021-09-23T18:32:47+03:00 + 2021-09-24T14:24:00+03:00 https://alanorth.github.io/cgspace-notes/2021-08/ 2021-09-02T17:06:28+03:00