Hi Germán,
in any cases you need to build your own plugin to deal with the
terminology service. If you can spend some time on the terminology
service to improve interoperability it could be useful because you could
make your plugin more suitable for share with the community (I'm
thinking about use of the SKOS format for the terminology and the SPARQL
standard for expose it - http://www.w3.org/2004/02/skos/)
Anyway, as you say you need to write a class that implements the
ChoiceAuthority interface
this mean mainly to implement the GetMatches and GetBestMatch methods.
The two methods differ for the context where they are called, the first
GetMatches is used during interactive process (ie. the lookup or
autosuggest in submission, workflow, edit-item)
the last, GetBestMatch is used by batch import.
For more information about the authority framework take a look at
https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values
You can build your customization as a separate maven jar project and
include it as dependency in dspace. Please note that you need your jar
in both the webapp (WEB-INF/lib) and the dspace/lib directory.
Hope this help,
Andrea
Il 04/08/2010 21:52, Germán Biozzoli ha scritto:
Hi everybody
I wish to connect a terminology service with DSpace subject input-form
through a lookup. The service provides UTF-8 XML single list of terms
bases on a query term, or simply all of them. Don't know if the best
way is to trying to simulate the SHERPA protocol or SRU query for LC,
modifying the php script that serves the list of terms or if is
somebody could point me to the steps that I should follow to implement
a new plug-in as LCNameAuthority.java to query this service.
Specifically I suppose that I need to recompile and include this new
plug-in that should implement GetMatches or GetBestMacth, isn´t it?
Regards and thanks
Germán
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Dott. Andrea Bollini
Project Manager, IT Architect Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525
---
Disclaimer: the content of this email is confidential and may be privileged,
and it must not be disclosed or copied without the sender's consent. If you
have received this message in error, please notify the sender and remove it
from your system. The content of this email does not constitute legal advice,
nor any responsibility is accepted for loss or damage incurred as a result of
acting upon its contents or attachments.
The statements and opinions expressed in this email are those of the author and
do not necessarily reflect those of the employer.
--
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech