diff --git a/content/post/2018-02.md b/content/post/2018-02.md index b459bb3f5..a93380aa8 100644 --- a/content/post/2018-02.md +++ b/content/post/2018-02.md @@ -584,3 +584,13 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds dspace=# update metadatavalue set text_value='United States Agency for International Development' where resource_type_id=2 and metadata_field_id=29 and text_value like '%U.S. Agency for International Development%'; UPDATE 2 ``` + +## 2018-02-18 + +- ICARDA's Mohamed Salem pointed out that it would be easiest to format the `cg.creator.id` field like "Alan Orth: 0000-0002-1735-7458" because no name will have a ":" so it's easier to split on +- I finally figured out a few ways to extract ORCID iDs from metadata using XSLT and display them in the XMLUI: + +![Displaying ORCID iDs in XMLUI](/cgspace-notes/2018/02/xmlui-orcid-display.png) + +- The one on the bottom left uses a similar format to our author display, and the one in the middle uses the format [recommended by ORCID's branding guidelines](https://orcid.org/trademark-and-id-display-guidelines) +- Also, I realized that the Academicons font icon set we're using includes an ORCID badge so we don't need to use the PNG image anymore diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 32383587b..1d3e737f2 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": "3796", + "wordCount": "3903", "datePublished": "2018-02-01T16:28:54+02:00", - "dateModified": "2018-02-15T22:36:01+02:00", + "dateModified": "2018-02-17T11:37:57+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -780,6 +780,20 @@ UPDATE 1 UPDATE 2 +

2018-02-18

+ + + +

Displaying ORCID iDs in XMLUI

+ + + diff --git a/docs/2018/02/xmlui-orcid-display.png b/docs/2018/02/xmlui-orcid-display.png new file mode 100644 index 000000000..aeabc0ada Binary files /dev/null and b/docs/2018/02/xmlui-orcid-display.png differ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index c2a200316..75cea2e4b 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-02/ - 2018-02-15T22:36:01+02:00 + 2018-02-17T11:37:57+02:00 @@ -149,7 +149,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-02-15T22:36:01+02:00 + 2018-02-17T11:37:57+02:00 0 @@ -166,19 +166,19 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-02-15T22:36:01+02:00 + 2018-02-17T11:37:57+02:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2018-02-15T22:36:01+02:00 + 2018-02-17T11:37:57+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-02-15T22:36:01+02:00 + 2018-02-17T11:37:57+02:00 0 diff --git a/static/2018/02/xmlui-orcid-display.png b/static/2018/02/xmlui-orcid-display.png new file mode 100644 index 000000000..aeabc0ada Binary files /dev/null and b/static/2018/02/xmlui-orcid-display.png differ