Hi Hardy,

On 23/09/15 09:40, Pottinger, Hardy J. wrote:
Can you give an example of what metadata you want to cross-link to what?
Yes. Here's the config that I wish worked for XMLUI:

webui.browse.link.1 = author:dc.contributor.*
webui.browse.link.2 = authorcontributor:dc.contributor.*
webui.browse.link.3 = advisor:dc.contributor.*

Basically I'd like to see those three browse indexes (author, authorcontributor and advisor) link to matching author names in the author browse index (dc.contributor.*)

This is what we did for one of "my" repos, on a pre-release of Mirage 2:
https://gist.github.com/aschweer/5ee6339b3e1202699220

It's a bit ugly because it hard-codes the name of the browse index in 3 spots, I guess you could use the confman namespace to read this from a config file if you prefer. The important bit is to encode the metadata value (eg https://gist.github.com/aschweer/5ee6339b3e1202699220#file-author-template-xsl-L36).

If you wanted to link to the facet instead of the browse index, you'd just change the base URL to
concat($context-path, '/discover?filtertype=author&filter_relational_operator=equals&filter=')
then append the encoded metadata value as above.

If you use authority control, you may want to have a choose statement that uses the authority key for the URL where available and reverts to the metadata value only if there is no authority key / the confidence for the authority key isn't high enough.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" 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 http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to