From ae90d6bd0ead0239c730b780127dcd601a8d5ff0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 22 Jan 2018 15:38:33 +0200 Subject: [PATCH] Add notes for 2018-01-22 --- content/post/2018-01.md | 22 ++++++++++++++++++++++ public/2018-01/index.html | 32 +++++++++++++++++++++++++++++--- public/robots.txt | 2 +- public/sitemap.xml | 20 ++++++++++---------- 4 files changed, 62 insertions(+), 14 deletions(-) diff --git a/content/post/2018-01.md b/content/post/2018-01.md index 87f4492b6..49ee5de97 100644 --- a/content/post/2018-01.md +++ b/content/post/2018-01.md @@ -971,3 +971,25 @@ $ docker exec dspace_db vacuumdb -U postgres dspace $ docker cp ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspace_db:/tmp $ docker exec dspace_db psql -U dspace -f /tmp/update-sequences.sql dspace ``` + +## 2018-01-22 + +- Look over Udana's CSV of 25 WLE records from last week +- I sent him some corrections: + - The file encoding is Windows-1252 + - There were whitespace issues in the dc.identifier.citation field (spaces at the beginning and end, and multiple spaces in between some words) + - Also, the authors listed in the citation need to be in normal format, separated by commas or colons (however you prefer), not with || + - There were spaces in the beginning and end of some cg.identifier.doi fields + - Make sure that the cg.coverage.countries field is just countries: ie, no "SOUTH ETHIOPIA" or "EAST AFRICA" (the first should just be ETHIOPIA, the second should be in cg.coverage.region instead) + - The current list of regions we use is here: https://github.com/ilri/DSpace/blob/5_x-prod/dspace/config/input-forms.xml#L5162 + - You have a syntax error in your cg.coverage.regions (extra ||) + - The value of dc.identifier.issn should just be the ISSN but you have: eISSN: 1479-487X +- I wrote a quick Python script to use the DSpace REST API to find all collections under a given community +- The source code is here: [rest-find-collections.py](https://gist.github.com/alanorth/ddd7f555f0e487fe0e9d3eb4ff26ce50) +- Peter had said that found a bunch of ILRI collections that were called "untitled", but I don't see any: + +``` +$ ./rest-find-collections.py 10568/1 | wc -l +308 +$ ./rest-find-collections.py 10568/1 | grep -i untitled +``` diff --git a/public/2018-01/index.html b/public/2018-01/index.html index 6d14cdeba..4c0d513a1 100644 --- a/public/2018-01/index.html +++ b/public/2018-01/index.html @@ -92,7 +92,7 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv - + @@ -194,9 +194,9 @@ Danny wrote to ask for help renewing the wildcard ilri.org certificate and I adv "@type": "BlogPosting", "headline": "January, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-01/", - "wordCount": "5329", + "wordCount": "5530", "datePublished": "2018-01-02T08:35:54-08:00", - "dateModified": "2018-01-20T10:44:30+02:00", + "dateModified": "2018-01-20T11:15:07+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1330,6 +1330,32 @@ $ docker cp ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspace_db: $ docker exec dspace_db psql -U dspace -f /tmp/update-sequences.sql dspace +

2018-01-22

+ + + +
$ ./rest-find-collections.py 10568/1 | wc -l
+308
+$ ./rest-find-collections.py 10568/1 | grep -i untitled
+
+ diff --git a/public/robots.txt b/public/robots.txt index 28997c233..83b9cb92f 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -31,7 +31,7 @@ Disallow: /cgspace-notes/2015-12/ Disallow: /cgspace-notes/2015-11/ Disallow: /cgspace-notes/ Disallow: /cgspace-notes/categories/ -Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/tags/notes/ +Disallow: /cgspace-notes/categories/notes/ Disallow: /cgspace-notes/post/ Disallow: /cgspace-notes/tags/ diff --git a/public/sitemap.xml b/public/sitemap.xml index 392d0ae9f..9cbd1a969 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-01/ - 2018-01-20T10:44:30+02:00 + 2018-01-20T11:15:07+02:00 @@ -144,7 +144,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-01-20T10:44:30+02:00 + 2018-01-20T11:15:07+02:00 0 @@ -153,27 +153,27 @@ 0 + + https://alanorth.github.io/cgspace-notes/tags/notes/ + 2018-01-20T11:15:07+02:00 + 0 + + https://alanorth.github.io/cgspace-notes/categories/notes/ 2017-09-28T12:00:49+03:00 0 - - https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-01-20T10:44:30+02:00 - 0 - - https://alanorth.github.io/cgspace-notes/post/ - 2018-01-20T10:44:30+02:00 + 2018-01-20T11:15:07+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-01-20T10:44:30+02:00 + 2018-01-20T11:15:07+02:00 0