bug 2001, 2432: improve unAPI implementation
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 22 May 2009 00:10:50 +0000 (19:10 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 22 May 2009 12:31:43 +0000 (07:31 -0500)
commit391a6d32619978aa3c1e624743479a0d3fe45f89
treea356bedc32400391373521fa2d654eeb0896e8cf
parent9620e07f15cc8f08f684b9e7cfd13cb72ea1e92d
bug 2001, 2432: improve unAPI implementation

Improves Koha's unAPI support as follows:

* The implementation no longer depends on there being
  an accessible Zebra or SRW server.  Instead, responses
  are created by running the bib MARCXML through local
  stylesheets.
* unAPI now works for all bibs, not just ones that have
  an ISBN.  The ID format is changed from koha:isbn:ISBN
  to koha:biblionumber:BIBNUM.
* unAPI now correctly advertises the formats it supports.
* This implementation now passes validation testing at
  http://validator.unapi.info/ .
* MODS3 support now works correctly.  As a consequence, this
  patch fixes bug 2432 (Zotero support when using the XSLT
  OPAC stylesheets).

TODO: as additonal XSLT stylesheets are created to convert
UNIMARC bibs to additional formats, the stylesheet map
in opac/unapi should be updated.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
opac/unapi