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 +
cg.creator.id
field like “Alan Orth: 0000-0002-1735-7458” because no name will have a “:” so it’s easier to split on