Add another OAI server
authorFrederic Demians <f.demians@tamil.fr>
Thu, 26 Mar 2009 20:54:24 +0000 (21:54 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 1 Apr 2009 16:30:08 +0000 (11:30 -0500)
commitf2577300505a3a6053743c80bd54b2cb1a625ec6
tree1264c916b8d16710e1371d287916ee492fec9f75
parentb28752346fbf6b61bebb5bba96bac0d423c308c5
Add another OAI server

This OAI server has those characteristics:

   * It doesn't use C4::OAI anymore.
   * It uses HTTP::OAI library which is easily expandable.
   * XML result is not build anymore directly but using
     XML::SAX::Writer. It should solve encoding and XML related issues.
   * It returns two formats: oai_dc and marcxml.
   * DC is generated from biblioitems.marcxml by applying XSLT
     (MARC21slim2OAIDC.xsl or UNIMARCslim2OAIDC.xsl).
   * It uses the same tokens as previous OAI server (thanks Philippe
     Jaillon).
   * There is no more sets (it wasn't operational in previous version).

Add two new dependencies:

   * HTTP::OAI
   * XML::SAX::Writer
     available as a Debian package: libxml-sax-writer-perl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
opac/oai2.pl [new file with mode: 0755]