Dear DSpace-Tech List,
I have customized our item-view.xsl to make the authors clickable and I
started using LC Naming Authority. My problem is that clicking the link for
the authors with an authority key will return "Sorry, there are no results
for this browse." since the code to make the authors clickable appends the
URL "/browse?value=[name of author]&type=author" instead of
"/browse?authority=[authority key of author]&type=author". How can I obtain
the authority keys for authors like those generated by "Browse by author"
pages? Below is a snippet of the code from my item-view.xsl. Please advise
what part of the code should I change/add.
<xsl:when
test="dim:field[@element='contributor'][@qualifier='author']">
<xsl:for-each
select="dim:field[@element='contributor'][@qualifier='author']">
<xsl:if test="@authority">
<xsl:attribute
name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>
</xsl:if>
<a>
<xsl:attribute
name="href">
<xsl:value-of
select="concat($context-path,'/browse?value=')"/>
<xsl:copy-of
select="."/>&type=author
</xsl:attribute>
<xsl:value-of
select="text()"/>
</a>
<xsl:if
test="count(following-sibling::dim:field[@element='contributor'][@qualifier='author'])
!= 0">
<xsl:text>; </xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:when>
Also, David Chandek mailed dspace-tech list about Browsing by Author with
authority keys,
http://www.mail-archive.com/[email protected]/msg15108.html.
I wonder if there's a way to show the authorized heading instead of showing
the authority key in the browse list. I found out that other repositories
have the same scenario after googling. Ex.
http://scholar.sun.ac.za/browse?authority=no2010094603&type=author and
http://dl.nsf.ac.lk/browse?type=author&authority=n++00007505.
Thanks in advance and regards,
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech