forked from pkiraly/qa-catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into createAdditionalField…
…sForHbzPublishingCatalogue
- Loading branch information
Showing
6 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ setdir.sh | |
.env | ||
|
||
# used as Docker volume | ||
web-config | ||
# web-config | ||
|
||
# Node packages | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
. ./setdir.sh | ||
|
||
NAME=hbz | ||
TYPE=xml | ||
if [[ $TYPE == "marc" ]]; then | ||
echo "marc" | ||
TYPE_PARAMS="--marcVersion MARC21 --fixAlma" | ||
MARC_DIR=${BASE_INPUT_DIR}/${NAME}/marc | ||
MASK=*.mrc | ||
elif [[ $TYPE == "xml" ]]; then | ||
echo "xml" | ||
TYPE_PARAMS="--marcVersion MARC21 --marcxml --fixAlma" | ||
MARC_DIR=${BASE_INPUT_DIR}/${NAME}/marc | ||
MASK=*.gz | ||
else | ||
echo "else: ${TYPE}" | ||
fi | ||
|
||
. ./common-script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
class Hbz extends Catalogue { | ||
protected $name = 'hbz'; | ||
protected $label = 'hbz Verbunddaten Basedump vom 10.08.2024'; | ||
protected $url = 'https://example.com/'; | ||
protected $marcVersion = 'ZB'; | ||
protected $linkTemplate = 'http://example.com/{id}'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
catalogue=oersi | ||
indexName=oersi | ||
dirName=oersi | ||
catalogue=hbz | ||
indexName=hbz | ||
dirName=hbz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
catalogue=oersi | ||
indexName=oersi | ||
dirName=oersi |