I see that I had missed some config options -- the idea is to create a
separate browse index for the authority-verified names:
webui.browse.index.6 =
dukeAuthor:metadataAuthority:dc.contributor.author:authority
I've got that working now, although for some reason the page is not
finding the message keys in i18n/messages ...
<message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.dukeAuthor">Br
owsing {0} by Duke Author {1}</message>
<message
key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.dukeAuthor">Br
owsing {0} by Duke Author</message>
--David
On 9/13/11 11:49 AM, "David Chandek-Stark" <[email protected]>
wrote:
>Thanks to an assist from the list, I have followed the trail down the
>rabbit hole and discovered, I think, why the author browse pages for an
>author having an authority key is not displaying properly.
>
>First, my setup is DSpace 1.7.1, XMLUI, Mirage theme. I have configured
>dc.contributor.author as authority-controlled (but not required) -- that
>is working. The config for the browse index is:
>
> webui.browse.index.2 = author:metadata:dc.contributor.author:text
>
>which is, I believe, the default config.
>
>Now, in the author browse index pages, names having authority keys are
>linked to the URL:
>
> browse?authority=<authority key>&type=author
>
>which goes to page having the title:
>
> Browsing by Author "<authority key>"
>
>AFAICT what is *supposed* to happen is that the choice authority's
>getLabel() method is supposed to be called so that the page title shows
>the label, not the authority key. It appears that this is not happening
>b/c the BrowseIndex bound method isAuthorityIndex() returns true only when
>the displayType equals "metadataAuthority". I tried changing the index
>config to:
>
> webui.browse.index.2 =
>author:metadataAuthority:dc.contributor.author:text
>
>but to no effect. What *does* work is to add a query parameter,
>"display=metadataAuthority" to the URL!
>
>So the question is: Is this a bug, or am I missing something in the
>config?
>
>Thanks,
>David
>
>On 9/12/11 6:03 PM, "David Chandek-Stark" <[email protected]>
>wrote:
>
>>After implementing authority control on dc.contributor.author I
>>discovered that the browse link for an author having an authority key
>>value generates a page with a title like:
>>
>>Browsing by Author "01234567"
>>
>>I assume this title is controlled by i18n/messages:
>>
>><message
>>key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.author">Brow
>>s
>>ing {0} by Author {1}</message>
>>
>>I can't figure out where (or if) this is actually being used so I can
>>look at how it might be changed (to display the author's name instead of
>>a number that means nothing to the user).
>>
>>DSpace 1.7.1, XMLUI/Mirage theme.
>>
>>Thanks,
>>David
>>
>>-------------------------------------------------------------------------
>>-
>>----
>>Doing More with Less: The Next Generation Virtual Desktop
>>What are the key obstacles that have prevented many mid-market businesses
>>from deploying virtual desktops? How do next-generation virtual
>>desktops
>>provide companies an easier-to-deploy, easier-to-manage and more
>>affordable
>>virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>>_______________________________________________
>>DSpace-tech mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>--------------------------------------------------------------------------
>----
>BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>Learn about the latest advances in developing for the
>BlackBerry® mobile platform with sessions, labs & more.
>See new tools and technologies. Register for BlackBerry® DevCon today!
>http://p.sf.net/sfu/rim-devcon-copy1
>_______________________________________________
>DSpace-tech mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech