Added OCLC LC/LAF identifiers to OPA

I've added support for name authority records from the OCLC LAF (Linked Authority File) version of the LC's name file. These follow OCLC's convention of formatting the LC identifiers using this regex:

  'LAF'   : r'(n[0-9]+-[0-9]+)'

(I'm not 100% certain that's correct but will fix if i find out otherwise.)

OCLC's HTML page for a name record is supported as format "html", along with "marcxml".

Updated opa.py is attached. See older posts on OPA for more details about running it.

Trackback URL for this post:

http://onebiglibrary.net/trackback/160
AttachmentSize
opa.py.txt23.31 KB

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <pre> <code> <img> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <form> <input> <span> <object> <embed> <br>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apache>, <bash>, <css>, <diff>, <dot>, <java>, <javascript>, <mysql>, <perl>, <php>, <python>, <rails>, <ruby>, <sql>, <xml>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.