--
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 dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
Dear Terry,
I tried this and it seems not to work.
Best regards
Stefanie
Von: dspace-c...@googlegroups.com [mailto:dspace-c...@googlegroups.com] Im Auftrag von Terry Brady
Gesendet: Dienstag, 27. September 2016 22:13
An: ajdab...@tamu.edu
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.
This process saves a reference to the authority record (uuid in SOLR) but it does not make the ORCID immediately available in metadata.
Terry
On Tue, Sep 27, 2016 at 12:25 PM, <ajdab...@tamu.edu> 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
ajdab...@library.tamu.edu | 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 dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
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
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 dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
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
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 dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl....@usask.ca
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"
--
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
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
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 dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
<!-- 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>
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
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
This process saves a reference to the authority record (uuid in SOLR) but it does not make the ORCID immediately available in metadata.
Terry
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
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
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 dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
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 dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Sorry about the late response to this thread. I finally got around to looking into this. Thought I’d follow up to say thanks to Terry for the gist (was very helpful!) and Ivan for the link to the DSpace docs. I’m also including some more detail on what I did to get this to work in our environment (DSpace 5.5, XMLUI, custom theme based on Mirage 2).
item-view.xsl (the location of which depends on you setup I think; we have a custom Mirage 2 theme, so I copied it from its original location into my theme directory into xsl/aspect/artifactBrowser) has the following template:
<xsl:template name="itemSummaryView-DIM-authors-entry">
<div>
<xsl:if test="@authority">
<xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>
</xsl:if>
<xsl:copy-of select="node()"/>
</div>
</xsl:template>
I replaced that with the following. The ORCID template is virtually unchanged from Terry’s example, and the second part if the itemSummaryView-DIM-authors-entry template is also very similar to the portion he had.
<xsl:template name="itemSummaryView-DIM-authors-entry">
<div>
<xsl:if test="@authority">
<xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>
</xsl:if>
<xsl:copy-of select="node()"/>
<xsl:if test="@authority">
<xsl:variable name="orcid">
<xsl:call-template name="ORCID">
<xsl:with-param name="uuid" select='@authority'/>
</xsl:call-template>
</xsl:variable>
<xsl:copy-of select="$orcid"/>
</xsl:if>
</div>
</xsl:template>
<!-- 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:8080/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>
You can see this in action here: http://hdl.handle.net/10388/7225 (the link to ORCID are after the author names in the left-hand column)