[Koha-bugs] [Bug 6334] Using OAI with the OPACBaseURL syspref
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 13 10:08:25 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6334
Magnus Enger <magnus at enger.priv.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |magnus at enger.priv.no
--- Comment #8 from Magnus Enger <magnus at enger.priv.no> 2011-05-13 08:08:25 UTC ---
(In reply to comment #7)
> So I suggest to create a new Web Services syspref, something like
> OAI-PMH:IdentifierBase, and to use it in XSL rather than OPACBaseURL.
I think this is what the OAI-PMH:archiveID is already used for? The description
of this syspref is "Identify records at this site with the prefix ___"
I have a live installation where OAI-PMH:archiveID = oai:bibkat.no:NO-1120127
and the resulting identifiers look like this:
http://sksk.bibkat.no/cgi-bin/koha/oai.pl?verb=ListIdentifiers&metadataPrefix=oai_dc
I'm not sure why you would want an identifier that includes http://, but it
seems to me that using OPACBaseURL for it would work fine.
PS. This part of UNIMARCslim2OAIDC.xsl looks overly hardcoded too:
<xsl:when test="marc:subfield[@code='c']='MAIN'">Main Branch</xsl:when>
<xsl:when test="marc:subfield[@code='c']='BIB2'">Library 2</xsl:when>
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list