diff --git a/content/posts/2020-07.md b/content/posts/2020-07.md
index 8b5386eea..0abf4c831 100644
--- a/content/posts/2020-07.md
+++ b/content/posts/2020-07.md
@@ -271,4 +271,31 @@ $ ./agrovoc-lookup.py -i 2020-07-05-cgspace-subjects.txt -om 2020-07-05-cgspace-
- They responded to say that `matchedPrefLabel` is not a property in SKOS/SKOSXL vocabulary, but their SKOSMOS system seems to use it to hint that the search terms matched a `prefLabel` in another language
- I will treat the `matchedPrefLabel` values as if they were `prefLabel` values for the indicated language then
+## 2020-07-07
+
+- Peter asked me to send him a list of sponsors on CGSpace
+
+```
+dspace=# \COPY (SELECT DISTINCT text_value as "dc.description.sponsorship", count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=29 GROUP BY "dc.description.sponsorship" ORDER BY count DESC) TO /tmp/2020-07-07-sponsors.csv WITH CSV HEADER;
+COPY 707
+```
+
+- I ran it quickly through my `csv-metadata-quality` tool and found two issues that I will correct with `fix-metadata-values.py` on CGSpace immediately:
+
+```
+$ cat 2020-07-07-fix-sponsors.csv
+dc.description.sponsorship,correct
+"Ministe`re des Affaires Etrange`res et Européennes, France","Ministère des Affaires Étrangères et Européennes, France"
+"Global Food Security Programme, United Kingdom","Global Food Security Programme, United Kingdom"
+$ ./fix-metadata-values.py -i 2020-07-07-fix-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -t correct -m 29
+```
+
+- Upload the Capacity Development July newsletter to CGSpace for Ben Hack because Abenet and Bizu usually do it, but they are currently offline due to the Internet being turned off in Ethiopia
+ - Here: https://hdl.handle.net/10568/108708
+- I implemented the Dimensions.ai badge on DSpace Test for Peter to see, as he's been asking me for awhile:
+
+![Dimensions.ai badge](/cgspace-notes/2020/07/dimensions-badge.png)
+
+- It was easy once I figured out how to do the XSLT in the DSpace theme (need to get the DOI link and remove the "https://doi.org/" from the string)
+
diff --git a/docs/2020-07/index.html b/docs/2020-07/index.html
index b7621c0e2..f80e45757 100644
--- a/docs/2020-07/index.html
+++ b/docs/2020-07/index.html
@@ -20,7 +20,7 @@ Since I was restarting Tomcat anyways I decided to redeploy the latest changes f
-
+
@@ -45,9 +45,9 @@ Since I was restarting Tomcat anyways I decided to redeploy the latest changes f
"@type": "BlogPosting",
"headline": "July, 2020",
"url": "https://alanorth.github.io/cgspace-notes/2020-07/",
- "wordCount": "1597",
+ "wordCount": "1785",
"datePublished": "2020-07-01T10:53:54+03:00",
- "dateModified": "2020-07-06T15:20:30+03:00",
+ "dateModified": "2020-07-06T20:53:54+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@@ -392,6 +392,32 @@ $ csvcut -c1 /tmp/2020-07-05-subjects-upper.csv | head -n 6500 > 2020-07-05-c
+
2020-07-07
+
+- Peter asked me to send him a list of sponsors on CGSpace
+
+dspace=# \COPY (SELECT DISTINCT text_value as "dc.description.sponsorship", count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=29 GROUP BY "dc.description.sponsorship" ORDER BY count DESC) TO /tmp/2020-07-07-sponsors.csv WITH CSV HEADER;
+COPY 707
+
+- I ran it quickly through my
csv-metadata-quality
tool and found two issues that I will correct with fix-metadata-values.py
on CGSpace immediately:
+
+$ cat 2020-07-07-fix-sponsors.csv
+dc.description.sponsorship,correct
+"Ministe`re des Affaires Etrange`res et Européennes, France","Ministère des Affaires Étrangères et Européennes, France"
+"Global Food Security Programme, United Kingdom","Global Food Security Programme, United Kingdom"
+$ ./fix-metadata-values.py -i 2020-07-07-fix-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -t correct -m 29
+
+- Upload the Capacity Development July newsletter to CGSpace for Ben Hack because Abenet and Bizu usually do it, but they are currently offline due to the Internet being turned off in Ethiopia
+
+
+- I implemented the Dimensions.ai badge on DSpace Test for Peter to see, as he’s been asking me for awhile:
+
+
+
+- It was easy once I figured out how to do the XSLT in the DSpace theme (need to get the DOI link and remove the “https://doi.org/" from the string)
+
diff --git a/docs/2020/07/dimensions-badge.png b/docs/2020/07/dimensions-badge.png
new file mode 100644
index 000000000..cd3bcf73e
Binary files /dev/null and b/docs/2020/07/dimensions-badge.png differ
diff --git a/docs/categories/index.html b/docs/categories/index.html
index 5f5a9ab2c..c295983ce 100644
--- a/docs/categories/index.html
+++ b/docs/categories/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html
index 0c4063fd0..c64ce6dd8 100644
--- a/docs/categories/notes/index.html
+++ b/docs/categories/notes/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html
index 9e3cd612c..8c747eda0 100644
--- a/docs/categories/notes/page/2/index.html
+++ b/docs/categories/notes/page/2/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html
index a0976c22b..8e1b3712d 100644
--- a/docs/categories/notes/page/3/index.html
+++ b/docs/categories/notes/page/3/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html
index 49ad6b6f7..96ddf61a9 100644
--- a/docs/categories/notes/page/4/index.html
+++ b/docs/categories/notes/page/4/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/index.html b/docs/index.html
index 9bb0e912f..f72f3f1f2 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/page/2/index.html b/docs/page/2/index.html
index 01b540169..eba42419e 100644
--- a/docs/page/2/index.html
+++ b/docs/page/2/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/page/3/index.html b/docs/page/3/index.html
index 268f0eb2f..67daa1abe 100644
--- a/docs/page/3/index.html
+++ b/docs/page/3/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/page/4/index.html b/docs/page/4/index.html
index 9e2ff5fa1..287145cca 100644
--- a/docs/page/4/index.html
+++ b/docs/page/4/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/page/5/index.html b/docs/page/5/index.html
index beea8bded..a254f5782 100644
--- a/docs/page/5/index.html
+++ b/docs/page/5/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/page/6/index.html b/docs/page/6/index.html
index d688955fd..4d75a1234 100644
--- a/docs/page/6/index.html
+++ b/docs/page/6/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/index.html b/docs/posts/index.html
index 42b9c1755..a779de235 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html
index ee006b6b0..9ceb4e900 100644
--- a/docs/posts/page/2/index.html
+++ b/docs/posts/page/2/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html
index f16159a09..a89d78a49 100644
--- a/docs/posts/page/3/index.html
+++ b/docs/posts/page/3/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html
index 1dfc14b8e..891294e62 100644
--- a/docs/posts/page/4/index.html
+++ b/docs/posts/page/4/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html
index 49f518d61..8d2183b6f 100644
--- a/docs/posts/page/5/index.html
+++ b/docs/posts/page/5/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html
index 3659e786c..37a729456 100644
--- a/docs/posts/page/6/index.html
+++ b/docs/posts/page/6/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 1d9b690d2..7f8ee1f53 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -4,27 +4,27 @@
https://alanorth.github.io/cgspace-notes/categories/
- 2020-07-06T15:20:30+03:00
+ 2020-07-06T20:53:54+03:00
https://alanorth.github.io/cgspace-notes/
- 2020-07-06T15:20:30+03:00
+ 2020-07-06T20:53:54+03:00
https://alanorth.github.io/cgspace-notes/2020-07/
- 2020-07-06T15:20:30+03:00
+ 2020-07-06T20:53:54+03:00
https://alanorth.github.io/cgspace-notes/categories/notes/
- 2020-07-06T15:20:30+03:00
+ 2020-07-06T20:53:54+03:00
https://alanorth.github.io/cgspace-notes/posts/
- 2020-07-06T15:20:30+03:00
+ 2020-07-06T20:53:54+03:00
diff --git a/static/2020/07/dimensions-badge.png b/static/2020/07/dimensions-badge.png
new file mode 100644
index 000000000..cd3bcf73e
Binary files /dev/null and b/static/2020/07/dimensions-badge.png differ