Skip to content

Commit

Permalink
Add an additional match string to the VuFind templates and include th…
Browse files Browse the repository at this point in the history
…e libraries from the union of libraries in the Mettmann district.
  • Loading branch information
KalkbrennerTim committed Sep 10, 2024
1 parent 0828587 commit 1c0411a
Show file tree
Hide file tree
Showing 10 changed files with 128 additions and 2 deletions.
14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Erkrath_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Erkrath"/>
<shortName value="Stb Erkrath"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=ERKR"/>


<homepage value="https://www.erkrath.de/stadtbuecherei/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Haan_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Haan"/>
<shortName value="Stb Haan"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=HAAN"/>


<homepage value="https://www.haan.de/Familie-Bildung/Bildung/Stadtb%C3%BCcherei/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Heiligenhaus_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Heiligenhaus"/>
<shortName value="Stb Heiligenhaus"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=HEIL"/>


<homepage value="https://www.heiligenhaus.de/freizeit-und-bildung/buecherei.html"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Hilden_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Hilden"/>
<shortName value="Stb Hilden"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=HILD"/>


<homepage value="https://www.hilden.de/de/kultur-freizeit/kultureinrichtungen/stadtbibliothek/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Langenfeld_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Langenfeld"/>
<shortName value="Stb Langenfeld"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=LANG"/>


<homepage value="https://www.stadtbibliothek-langenfeld.de/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Mettmann_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbibliothek Mettmann"/>
<shortName value="Stb Mettmann"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=METT"/>


<homepage value="https://www.mettmann.de/bibliothek/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Monheim++am++Rhein_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Bibliothek Monheim am Rhein"/>
<shortName value="Bib Monheim am Rhein"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=MONH"/>


<homepage value="https://www.monheim.de/kultur-bildung/bibliothek/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_Velbert_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Bibliothek Velbert"/>
<shortName value="Bib Velbert"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=VELB"/>


<homepage value="https://bibliothek.velbert.de/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

14 changes: 14 additions & 0 deletions data/libraries/DE_Nordrhein-Westfalen_W+uelfrath_Stb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<library>
<longName value="Katalog der Bibliotheken im Kreis Mettmann - Stadtbücherei Wülfrath"/>
<shortName value="Stb Wülfrath"/>

<template value="vufind"/>
<variable name="baseurl" value="https://bibnet.de/"/>
<variable name="loginParams" value="target=WULF"/>


<homepage value="https://www.wuelfrath.net/freizeit-bildung/wuelfrather-medien-welt/"/>
<testing-search value="yes"/> <testing-account value="yes"/></library>

4 changes: 2 additions & 2 deletions data/libraries/templates/vufind/list
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
return if (empty(switch ($name)
(: case "von" return if (empty($book.author)) then $book.author := $value else ():)
case "Signatur" case "Call Number" return $book.id := $value
case "due date" case "fällig am" case "Bis" case "until" case "Ablaufdatum" case "Fälligkeit am" return
case "due date" case "fällig am" case "Bis" case "until" case "Ablaufdatum" case "Fälligkeit am" case "Rückgabedatum" return
if (matches($value, "[0-9][-0-9.]{7,10}")) then $book.duedate := parse-date($value) else ()
case "Erstellt" case "Created" case "Ausleihdatum" return
if (matches($value, "[0-9][-0-9.]{7,10}")) then $book.issuedate := parse-date($value) else ()
Expand Down Expand Up @@ -56,4 +56,4 @@
<div role="main" t:condition="empty(.//input[contains(@id, 'IDS')])">
</div>

</t:switch>
</t:switch>

0 comments on commit 1c0411a

Please sign in to comment.