Web service that allows item fetching through Z39.50 server, transformation of Unimarc to Marc21 and upload to Koha repository through Koha-API
These instructions will get you a copy of the project up and running on your local machine or server.
- Linux-based OS or Windows with Subsystem for Linux
- Tested with Ubuntu 20.04 LTS
- Git - Install Guide
- Docker - Install Guide
- Docker Compose - Install Guide
- Open a terminal
- Clone the repository
git clone [email protected]:datascouting/Unimarc2Marc21.git Unimarc2Marc21
- Open the repository
cd ./Unimarc2Marc21
- Copy the example environment file
cp .env.example .env
- Edit the environment file
./.env
- (IMPORTANT) Change the APP_UID and APP_GID with the host UID and host GID
- Defaults: UID
1000
- GID1000
- Defaults: UID
- (OPTIONAL) Change the HOST_PORT (this port will be used for access to the application from browser)
- Default:
80
(HTTP)
- Default:
- (OPTIONAL) Change the TIMEZONE
- Default:
Europe/Athens
- Default:
- (IMPORTANT) Change the APP_UID and APP_GID with the host UID and host GID
- Edit the Defaults file
./www/commons/Defaults.php
- This file contains default Z39.50 server credentials/settings and default KOHA installation credentials
- Default Z39.50:
National Library of Greece
- Default KOHA:
None
- Default Z39.50:
- This file contains default Z39.50 server credentials/settings and default KOHA installation credentials
- Build the docker image
docker-compose build
- Start the docker container
docker-compose up -d
z3950_host
- The z39.50 server hostREQUIRED
- domain name or IP
z3950_port
- The z39.50 server portREQUIRED
z3950_database
- The z39.50 database nameREQUIRED
z3950_type
- The default search typeREQUIRED
- Currently supported types:
ISBN (Preferred)
,ISSN
andTitle
- Currently supported types:
koha_intra_host
- The Koha Intra hostREQUIRED
- domain name or IP
koha_intra_port
- The Koha Intra portREQUIRED
koha_intra_basic_username
- The Koha Intra basic auth usernameOPTIONAL
koha_intra_basic_password
- The Koha Intra basic auth passwordOPTIONAL
koha_intra_username
- The Koha Intra usernameREQUIRED
koha_intra_password
- The Koha Intra passwordREQUIRED
- Docker - Development and Delivery Platform
- YAZ - Z39.50 Client and Converter
- xsltproc - XSLT Transformer
- Bootstrap - Web UI Framework
- FontAwesome - Web UI Library
- jQuery - Web Library
- Popper.js - Web Library
- Iordanis Kostelidis - Initial work as Platform - DataScouting
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Anthony Serdyukov for Xslt File
- Theodoros Theodoropoulos for modified version of Anthony's Xslt File
- Terry Reese for Xslt File from MarcEdit