Skip to content
Snippets Groups Projects
Commit dccf71d5 authored by André Lahmann's avatar André Lahmann
Browse files

refs #4651:

* merging latest DAIA driver from vufind-org with JSON support into master
parent b19a90d6
Branches
Tags
No related merge requests found
[DAIA] ; DAIA driver expects a DAIA Query API as specified in:
; http://gbv.github.io/daiaspec/daia.html#query-api
;
; The settings in the [DAIA] section will be used for all DAIA requests.
; The name of this section got refactored with VuFind 2.4, although the old
; configuration using the [Global] section still works, it should be replaced
; with the new [DAIA] section.
; Note: Settings for daiaResponseFormat and daiaIdPrefix are not supported if
; a pre VuFind 2.4 configuration with the [Global] section is used.
; i.e.:
; [Global]
; baseUrl = [your DAIA server base url]
; daiaIdPrefix = [this setting will have no effect]
; daiaResponseFormat = [this setting will have no effect]
;
; A default DAIA call looks like this:
; https://daia.myuniversity.edu/?id=ppn:12345678&format=json
;
; This default DAIA call would be configured as:
; [DAIA]
; baseUrl = https://daia.myuniversity.edu
; daiaidprefix = ppn:
; daiaResponseFormat = json
;
; The prefix prepended to the VuFind record Id resulting in the document URI
; used for the DAIA request (default = ppn:) (the prefix usually defines the
; field which the DAIA server uses for the loookup - e.g. ppn: or isbn:).
;daiaIdPrefix = "ppn:"
; Set the requested DAIA response format: xml (default), json
;daiaResponseFormat = xml
[Global]
; The base URL for the DAIA webservice.
; refer to http://data.ub.uni-leipzig.de/ldinfo for setting up specific DAIA-urls ; refer to http://data.ub.uni-leipzig.de/ldinfo for setting up specific DAIA-urls
baseUrl = http://data.ub.uni-leipzig.de/item/ISIL/identifier/ baseUrl = http://data.ub.uni-leipzig.de/item/ISIL/identifier/
......
[DAIA] ;[DAIA]
; this config configures the extended DAIA-Driver FincDAIA ; this config configures the extended DAIA-Driver FincDAIA
; refer to ticket #4499 for further info on configuring it ; refer to ticket #4499 for further info on configuring it
baseUrl = http://data.ub.uni-leipzig.de/item/ISIL/identifier/ ;baseUrl = http://data.ub.uni-leipzig.de/item/ISIL/identifier/
ilsIdentifier = "default" ;ilsIdentifier = "default"
;ISIL = "ISIL" ;ISIL = "ISIL"
; config-examples: ; config-examples:
...@@ -17,4 +17,9 @@ ilsIdentifier = "default" ...@@ -17,4 +17,9 @@ ilsIdentifier = "default"
; ilsIdentifier = "record_id" ; ilsIdentifier = "record_id"
; default ; default
; ilsIdentifier = "default" ; ilsIdentifier = "default"
\ No newline at end of file
[Global]
; The base URL for the DAIA webservice.
; refer to http://data.ub.uni-leipzig.de/ldinfo for setting up specific DAIA-urls
baseUrl = http://data.ub.uni-leipzig.de/item/ISIL/identifier/
This diff is collapsed.
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment