From 65a617ef8a86f6dc2f4fa8323685ca0ddcfd4b87 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 18 Apr 2018 17:17:04 +0300 Subject: [PATCH] Update notes for 2018-04-18 --- content/posts/2018-04.md | 6 ++++++ docs/2018-04/index.html | 11 ++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/content/posts/2018-04.md b/content/posts/2018-04.md index 850dc9be6..ba82204c4 100644 --- a/content/posts/2018-04.md +++ b/content/posts/2018-04.md @@ -366,3 +366,9 @@ webui.itemlist.sort-option.4 = type:dc.type:text ``` - I will increase the JVM heap size from 5120M to 6144M, though we don't have much room left to grow as DSpace Test (linode19) is using a smaller instance size than CGSpace +- Gabriela from CIP asked if I could send her a list of all CIP authors so she can do some replacements on the name formats +- I got a list of all the CIP collections manually and use the same query that I used in [August, 2017](/cgspace-notes/2017-08): + +``` +dspace#= \copy (select distinct text_value, count(*) from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/89347', '10568/88229', '10568/53086', '10568/53085', '10568/69069', '10568/53087', '10568/53088', '10568/53089', '10568/53090', '10568/53091', '10568/53092', '10568/70150', '10568/53093', '10568/64874', '10568/53094'))) group by text_value order by count desc) to /tmp/cip-authors.csv with csv; +``` diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index 25a98d173..0c382ee5f 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -21,7 +21,7 @@ Catalina logs at least show some memory errors yesterday: - + @@ -53,9 +53,9 @@ Catalina logs at least show some memory errors yesterday: "@type": "BlogPosting", "headline": "April, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-04/", - "wordCount": "1912", + "wordCount": "2028", "datePublished": "2018-04-01T16:13:54+02:00", - "dateModified": "2018-04-16T12:10:44+03:00", + "dateModified": "2018-04-18T12:38:12+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -530,8 +530,13 @@ webui.itemlist.sort-option.4 = type:dc.type:text +
dspace#= \copy (select distinct text_value, count(*) from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 AND resource_id IN (select item_id from collection2item where collection_id IN (select resource_id from handle where handle in ('10568/89347', '10568/88229', '10568/53086', '10568/53085', '10568/69069', '10568/53087', '10568/53088', '10568/53089', '10568/53090', '10568/53091', '10568/53092', '10568/70150', '10568/53093', '10568/64874', '10568/53094'))) group by text_value order by count desc) to /tmp/cip-authors.csv with csv;
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index d61561a31..1527ca542 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-04/ - 2018-04-16T12:10:44+03:00 + 2018-04-18T12:38:12+03:00 @@ -159,7 +159,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-04-16T12:10:44+03:00 + 2018-04-18T12:38:12+03:00 0 @@ -170,7 +170,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-04-16T12:10:44+03:00 + 2018-04-18T12:38:12+03:00 0 @@ -182,13 +182,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-04-16T12:10:44+03:00 + 2018-04-18T12:38:12+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-04-16T12:10:44+03:00 + 2018-04-18T12:38:12+03:00 0