[
http://jira.dspace.org/jira/browse/DS-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11770#action_11770
]
Kim Shepherd commented on DS-699:
---------------------------------
Tested, works perfectly as advertised. +1 from me.
(do we want to display leaf node ID in our suggested value as well, though?)
As well as being a nice simple way of getting our old controlled vocabularies
working with XMLUI, this is the perfect easy (and production-ready) demo for
users new to the Authority Control feature in 1.6+
Will leave issue open for a few days to allow others to test and comment, but
I'm pretty keen on committing this before feature freeze!
> ChoiceAuthority plugin for old-style controlled vocabularies
> ------------------------------------------------------------
>
> Key: DS-699
> URL: http://jira.dspace.org/jira/browse/DS-699
> Project: DSpace 1.x
> Issue Type: Improvement
> Components: DSpace API
> Affects Versions: 1.6.2
> Reporter: Michael B. Klein
> Assignee: Kim Shepherd
> Attachments: DSpaceControlledVocabulary.java
>
>
> Since XMLUI is lacking support for the JSPUI controlled vocabulary browser, I
> implemented a self-named plugin that publishes a ChoiceAuthority plugin for
> each file in ${dspace.dir}/controlled-vocabularies. The plugin has the same
> name as the basename of the file; e.g., controlled-vocabularies/srsc.xml is
> published as "srsc". Each node of the vocabulary's hierarchy is then
> available as an auto-completable term for that plugin/authority.
> To activate the plugin, add the following to dspace.cfg:
> plugin.selfnamed.org.dspace.content.authority.ChoiceAuthority =
> org.dspace.content.authority.DSpaceControlledVocabulary
> Then, to attach the Research Subject Categories vocabulary to the dc.subject
> field:
> choices.plugin.dc.subject = srsc
> choices.presentation.dc.subject = suggest
> Since the ChoiceAuthority plugin system binds a vocabulary to a particular
> metadata field system-wide, instead of making it configurable per collection
> (as the old controlled vocabulary system does), you'll need to either make
> sure that you really want it to be a global authority, or create a
> vocabulary-specific metadata field and use it instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel