Amanda, We disabled the authority mechanism, so I can no longer test this. I thought I was able to pull the correct value. Hopefully this code could help towards a solution.
Terry On Monday, October 3, 2016, Curnow, Amanda <[email protected]> wrote: > Hi Terry, > > > > Do you have an example of this working in a live repository? (for a > non-techie) > > Does this code associate the ORCID with the correct author? Rather than > just as a piece of metadata in the record. > > > > Amanda > > > > *From:* [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> > [mailto:[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>] *On > Behalf Of *Terry Brady > *Sent:* Tuesday, 4 October 2016 12:28 p.m. > *To:* Darryl Friesen; DSpace Community > *Subject:* Re: [dspace-community] Using Authority Control in DSpace > > > > Darryl, > > > > I found some sample code for XMLUI I had written to pull the ORCID out of > the SOLR authority. > > > > Here it is in case you find it useful. > > > > https://gist.github.com/terrywbrady/d0304eed59815d2e9c2d658a21cc5628 > > > > > > <!-- > > display item summary info > > $notLast and $sep are used to control the display of multiple authors > > --> > > <xsl:when test="@element='contributor' and @qualifier='author' and > @authority"> > > <xsl:variable name="a"> > > <xsl:value-of select="."/> > > <xsl:call-template name="ORCID"> > > <xsl:with-param name="uuid" select='@authority'/> > > </xsl:call-template> > > </xsl:variable> > > <xsl:variable name="b"> > > <xsl:if test="$notLast"><xsl:copy-of select="$sep"/></xsl:if> > > </xsl:variable> > > <xsl:copy-of select="$a"/><xsl:copy-of select="$b"/> > > </xsl:when> > > <!-- create a link to ORCID using the SOLR authority --> > > <xsl:template name="ORCID"> > > <xsl:param name='uuid'/> > > <xsl:variable name="solr" select="concat('http:// > localhost/solr/authority/select?q=id:',$uuid)"/> > > <xsl:variable name="authority" select="document($solr)/ > response/result/doc/str[@name='orcid_id']/text()"/> > > <xsl:if test="$authority"> > > <xsl:text> (</xsl:text> > > <a> > > <xsl:attribute name='href'> > > <xsl:value-of select="concat('http://orcid.org/',$authority)" > /> > > </xsl:attribute> > > <xsl:text>ORCID</xsl:text> > > </a> > > <xsl:text>)</xsl:text> > > </xsl:if> > > </xsl:template> > > > > > > On Mon, Oct 3, 2016 at 2:14 PM, Darryl Friesen <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > > The University of Saskatchewan enabled ORCID recently. Not many of our > faculty have tried it yet, although I've done some testing. As Terry > mentioned, a lot of data gets put into the authority control Solr database, > but none of that is available as metadata when the item page is rendered. > That's actually on my to-do list, so if anyone knows how to get authority > control data data into the DRI/XML, please feel free to send me suggestions! > > > > We haven't tried anything other than the built-in authority control/ORCID > functionality -- populating the authority control data from an external > source, for example. > > > > Ana, I'm curious if your question stems from planned future integration > between Vireo (which the UofS is using) and DSpace. I know Vireo allows > our students to enter their ORCID, but currently it comes over as part of > the ETD metadata, and doesn't make it into DSpace's authority control > database. > > > > > > - Darryl > > > > > > ---------------------------------------------------------------------- > > Darryl Friesen, B.Sc., Programmer/Analyst [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> > > Library Systems & Information Technology, http://library.usask.ca/ > > University of Saskatchewan Library > > ---------------------------------------------------------------------- > > "Go not to the Elves for counsel, for they will say both no and yes" > > > > > > > On Friday, September 30, 2016 at 10:18:41 AM UTC-6, Terry Brady wrote: > > Stefanie, I see that error now as well. I have submitted a bug report: > https://jira.duraspace.org/browse/DS-3350 > > > > Terry > > > > On Fri, Sep 30, 2016 at 1:47 AM, Stefanie Behnke < > [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> > wrote: > > Dear Terry, > > I tried this and it seems not to work. > > http://demo.dspace.org/xmlui/admin/item?administrative-continue= > 5c1512445a7831658a427855806831256f79642f&submit_metadata > > > > Best regards > > Stefanie > > > > *Von:* [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> [mailto: > [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>] *Im > Auftrag von *Terry Brady > *Gesendet:* Dienstag, 27. September 2016 22:13 > *An:* [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> > *Cc:* DSpace Community > *Betreff:* Re: [dspace-community] Using Authority Control in DSpace > > > > Anna, > > > > We are not using this feature, so I imagine that others can offer a more > detailed response. > > > > I noticed that the ORCID lookup process appears to be enabled on > demo.dspace.org if you want to experiment with it. > > > > [image: Image removed by sender.] > > > > This process saves a reference to the authority record (uuid in SOLR) but > it does not make the ORCID immediately available in metadata. > > > > [image: Image removed by sender.] > > Terry > > > > > > > > On Tue, Sep 27, 2016 at 12:25 PM, <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > > Hi Everyone, > > > > I'm writing to ask if anyone has experience using and/or extending the > authority control feature in DSpace? > > > > Here at Texas A&M, were looking at using this feature in a couple of > metadata fields that contain person names for theses and dissertations. > We're exploring the use of both ORCiDs as well as VIVO URIs and are > interested hearing experiences and ideas from other institutions. > > > > Thanks! > > Anna > > > > > *Anna J Dabrowski *Scholarly Communications Librarian | Digital > Repositories > Texas A&M University Libraries > [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');> | > 979.845.8847 > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Terry Brady > > Applications Programmer Analyst > > Georgetown University Library Information Technology > > http://georgetown-university-libraries.github.io/ > <https://www.library.georgetown.edu/lit/code> > > 425-298-5498 (Seattle, WA) > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Terry Brady > > Applications Programmer Analyst > > Georgetown University Library Information Technology > > http://georgetown-university-libraries.github.io/ > <https://www.library.georgetown.edu/lit/code> > > 425-298-5498 (Seattle, WA) > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','dspace-community%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Terry Brady > > Applications Programmer Analyst > > Georgetown University Library Information Technology > > http://georgetown-university-libraries.github.io/ > <https://www.library.georgetown.edu/lit/code> > > 425-298-5498 (Seattle, WA) > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','dspace-community%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','dspace-community%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > -- Sent from Gmail Mobile -- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-community. For more options, visit https://groups.google.com/d/optout.
