diff --git a/content/post/2018-02.md b/content/post/2018-02.md index d40b7d466..3730f3324 100644 --- a/content/post/2018-02.md +++ b/content/post/2018-02.md @@ -459,3 +459,31 @@ dspace.log.2018-02-13:4 Feb 13, 2018 2:05:42 PM org.apache.tomcat.jdbc.pool.ConnectionPool abandon WARNING: Connection has been abandoned PooledConnection[org.postgresql.jdbc.PgConnection@22e107be]:java.lang.Exception ``` + +## 2018-02-14 + +- Skype with Peter and the Addis team to discuss what we need to do for the ORCIDs in the immediate future +- We said we'd start with a controlled vocabulary for `cg.creator.id` on the DSpace Test submission form, where we store the author name and the ORCID in some format like: Alan S. Orth (0000-0002-1735-7458) +- Eventually we need to find a way to print the author names with links to their ORCID profiles +- Abenet will send an email to the partners to give us ORCID IDs for their authors and to stress that they update their name format on ORCID.org if they want it in a special way +- I sent the Codeobia guys a question to ask how they prefer that we store the IDs, ie one of: + - Alan Orth - 0000-0002-1735-7458 + - Alan Orth: 0000-0002-1735-7458 + - Alan S. Orth (0000-0002-1735-7458) +- Atmire responded on the [DSpace 5.8 compatability ticket](https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=560) and said they will let me know if they they want me to give them a clean 5.8 branch +- I formatted my list of ORCID IDs as a controlled vocabulary, sorted alphabetically, then ran through XML tidy: + +``` +$ sort cgspace-orcids.txt > dspace/config/controlled-vocabularies/cg-creator-id.xml +$ add XML formatting... +$ tidy -xml -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-id.xml +``` + +- It seems the tidy fucks up accents, for example it turns `Adriana Tofiño (0000-0001-7115-7169)` into `Adriana Tofiño (0000-0001-7115-7169)` +- We need to force UTF-8: + +``` +$ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-id.xml +``` + +- Then it preserves them and submitting them is fine diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 870ef528e..cf91c9462 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -23,7 +23,7 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl - + @@ -57,9 +57,9 @@ I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-pl "@type": "BlogPosting", "headline": "February, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-02/", - "wordCount": "3055", + "wordCount": "3297", "datePublished": "2018-02-01T16:28:54+02:00", - "dateModified": "2018-02-13T15:16:18+02:00", + "dateModified": "2018-02-13T17:50:12+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -635,6 +635,41 @@ dspace.log.2018-02-13:4 WARNING: Connection has been abandoned PooledConnection[org.postgresql.jdbc.PgConnection@22e107be]:java.lang.Exception +

2018-02-14

+ + + +
$ sort cgspace-orcids.txt > dspace/config/controlled-vocabularies/cg-creator-id.xml
+$ add XML formatting...
+$ tidy -xml -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-id.xml
+
+ + + +
$ tidy -xml -utf8 -iq -m -w 0 dspace/config/controlled-vocabularies/cg-creator-id.xml
+
+ + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index ee3d6516a..bd7f67d24 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-02/ - 2018-02-13T15:16:18+02:00 + 2018-02-13T17:50:12+02:00 @@ -149,7 +149,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-02-13T15:16:18+02:00 + 2018-02-13T17:50:12+02:00 0 @@ -160,7 +160,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-02-13T15:16:18+02:00 + 2018-02-13T17:50:12+02:00 0 @@ -172,13 +172,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2018-02-13T15:16:18+02:00 + 2018-02-13T17:50:12+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-02-13T15:16:18+02:00 + 2018-02-13T17:50:12+02:00 0