[ 
http://jira.dspace.org/jira/browse/DS-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11356#action_11356
 ] 

Larry Stone commented on DS-557:
--------------------------------

Please bear in mind that the LC Authority plugin was intended ONLY as a 
proof-of-concept and sample code to demonstrate interaction with an SRW/U 
server.  In practice, as you've noticed, there is a lot of subtlety in the 
interpretation of MARC fields, so every site will need to customize such a 
plugin for their own needs. (Perhaps a runtime-configurable MARC crosswalk 
would be a good addition, since not every site has Java programming available.)

I wrote this as a test and proof-of-concept, and left it configured to use the 
LC service since they have kindly kept it available past the end of the project 
that created it.  If you are using it in production, I recommend checking with 
the LC folks about whether you can expect it to be available and reliable.

Anyway, heed the comments in the source which apparently nobody has noticed:

/**
 * Sample personal name authority based on Library of Congress Name Authority
 * Also serves as an example of an SRU client as authority.
 *
 * This is tuned for the data in the LC Name Authority test instance, see
 * http://alcme.oclc.org/srw/search/lcnaf
 *
 * WARNING: This is just a proof-of-concept implementation.  It would need
 * WARNING: lots of refinement to be used in production, because it is very
 * WARNING: sloppy about digging through the MARC/XML results.  No doubt
 * WARNING: it is losing a lot of valid results and information.
 * WARNING: Could also do a better job including more info (title, life dates
 * WARNING: etc) in the label instead of just the name.
 *


> LC Authority Names - Lookup Feature - names w/o dates
> -----------------------------------------------------
>
>                 Key: DS-557
>                 URL: http://jira.dspace.org/jira/browse/DS-557
>             Project: DSpace 1.x
>          Issue Type: Improvement
>    Affects Versions: 1.6.0, 1.6.1, 1.7
>            Reporter: Mark Diggory
>             Fix For: 1.6.1, 1.7
>
>         Attachments: LCNameAuthority.java
>
>
> Forwarded conversation
> Subject: [Dspace-tech] LC Authority Names - Lookup Feature - names w/o dates
> ------------------------
> From: Francis, Ronee L <[email protected]>
> Date: Fri, Apr 23, 2010 at 11:59 AM
> To: "[email protected]" <[email protected]>
> We are having an issue with LC  Authority Names. When using the Lookup 
> feature in 1.6, the results do not include dates.
> Example results looks like this:
> Wilkins, Abraham
> Lincoln, Abraham
> Lincoln, Abraham
> Lincoln, Abraham
> Lincoln, Abraham
> Lincoln, Bommala-Abraham
> The OCLC search results look like this and include dates. Can someone help to 
> correct this or shed some light on the problem?
>  
> Thanks,
> Ronee
> ----------
> From: Mark Diggory <[email protected]>
> Date: Fri, Apr 23, 2010 at 4:36 PM
> To: "Francis, Ronee L" <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Ronee,
> Do you have the link? It did not come through.I am suspect that the 
> SRUHandler is not parsing off the date and appending it in the choices. We 
> may want to revisit what fields should be passed through and included in the 
> choices.
> http://scm.dspace.org/svn/repo/dspace/trunk/dspace-api/src/main/java/org/dspace/content/authority/LCNameAuthority.java
> Mark
> ----------
> From: Mark Diggory <[email protected]>
> Date: Fri, Apr 23, 2010 at 4:44 PM
> To: "Francis, Ronee L" <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Yes, its just returning one field of the srw record, not sure if its a
> problem, just not a "feature". I'd recommend possibly a JIRA ticket on
> exploring if xslt can be used to provide users with simple template
> option to set what the results should be formated like when turned in
> Choices in the Handler.
> <mx:datafield ind1="1" ind2=" " tag="400">
> <mx:subfield code="a">Lincoln, Abraham,</mx:subfield>
> <mx:subfield code="d">ca. 1840-1922</mx:subfield>
> </mx:datafield>
> --
> ----------
> From: Poulter, Dale <[email protected]>
> Date: Mon, Apr 26, 2010 at 11:47 AM
> To: Mark Diggory <[email protected]>, "Francis, Ronee L" 
> <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Mark,
> If anyone else is interested,  I have modified the LCNameAuthority.java to 
> also display/add dates (birth/death) to the lookup.

-- 
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

        

------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to