-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
153 lines (142 loc) · 7.07 KB
/
index.html
File metadata and controls
153 lines (142 loc) · 7.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="de">
<head>
<title>malibu - Mannheim library utilities</title>
<meta charset="utf-8">
<style type="text/css">
body {
font-family: Arial, Verdana, sans-serif;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
</style>
<script src="./isbn/rendering.js"></script>
</head>
<body>
<h1>malibu - Mannheim library utilities</h1>
<p><b>malibu</b> ist eine Sammlung von leichtgewichtigen, webbasierten Tools im Umfeld von bibliographischen Daten zur Unterstützung von Arbeitsabläufen, wie sie häufig in Bibliotheken bei den Fachreferaten und der Erwerbung aufteten.</p>
<h2>Hauptkomponenten</h2>
<ul>
<li><b>Suche nach einer ISBN</b> in verschiedenen Verbunddatenbanken und weitere Informationen etwa von Buchhändlern: <a class="link" href="isbn/suche.html" data-href="isbn/suche.html">isbn/suche.html</a><br/></li>
<li>Recherchewerkzeug für die <b>BNB weekly</b>: <a href="bnb/recherche.php">bnb/recherche.php</a><br/></li>
<li><b>Bestandsabgleich</b> anhand einer Liste von ISBNs:<ul>
<li>für den Bestand der UB Mannheim: <a href="tools/bestandsabgleich.html">tools/bestandsabgleich.html</a></li>
<li>für die Bestandsdaten in einem Verbund: <a class="link" href="tools/bestandsabgleichA.html" data-href="tools/bestandsabgleichA.html">tools/bestandsabgleichA.html</a></li>
<li>für Bibliotheken mit einer ALMA-SRU-Schnittstelle: <a class="link" href="tools/bestandsabgleichB.html" data-href="tools/bestandsabgleichB.html">tools/bestandsabgleichB.html</a></li></ul>
</li>
<li><b>PPN-Liste anreichern</b> mit Werten eines Feldes (z.B. ISBN, Bestand, RVK, Schlagwörter) aus dem gleichen Verbund: <a class="link" href="tools/ppnListe.html" data-href="tools/ppnListe.html">tools/ppnListe.html</a></li>
<li><b>ISBN-Liste anreichern</b> mit Werten eines Feldes (z.B. RVK, DDC, Schlagwörter) aus verschiedenen Verbünden: <a class="link" href="tools/isbnListe.html" data-href="tools/isbnListe.html">tools/isbnListe.html</a></li>
</ul>
<h2>Einstellungen</h2>
<form>
<label>Verbund auswählen:</label>
<select id="verbund" onchange="updateBookmark()">
<option>k10plus</option>
<option>b3kat</option>
<option>hebis</option>
<option>hbz</option>
<option>dnb</option>
<option>swiss</option>
<option>obvsg</option>
</select>
<label for="bibliothek">Bibliothek auswählen:</label>
<select name="bibliothek" id="bibliothek" onchange="updateBookmark()">
<option value="keine">keine</option>
<optgroup id="DE" label="Deutschland" />
<optgroup id="AT" label="Österreich" />
<optgroup id="CH" label="Schweiz" />
</select>
</form>
<p>Bei Auswahl eines anderen Verbundes und/oder Bibliothek ändert sich die URL um die entsprechenden Parameter hier.
Zudem berücksichtigen die ausgehenden Links dann auch diese Einstellungen (soweit relevant ist).</p>
<h3>Lokale Einstellungen</h3>
Folgende Einstellungen sind lokal im jeweiligen Browser gespeichert.<br/>
<input type="checkbox" id="aggregationPrefered" style="vertical-align:middle;" />
<label for="aggregationPrefered">Aggregierte Sicht bei RVK bevorzugt</label><br/>
<input type="checkbox" id="hidePaketInfo" style="vertical-align:middle;" />
<label for="hidePaketInfo">Paketinfos ausblenden</label><br/>
<input type="checkbox" id="hideVerkaufsInfo" style="vertical-align:middle;" />
<label for="hideVerkaufsInfo">Verkaufsinfos ausblenden</label><br/>
<input type="checkbox" id="hideAusgaben" style="vertical-align:middle;" />
<label for="hideAusgaben">Ausgaben ausblenden</label><br/>
<input type="checkbox" id="hideBestandsabgleich" style="vertical-align:middle;" />
<label for="hideBestandsabgleich">Bestandsabgleich ausblenden</label><br/>
<h2>Anwendungsbeschreibung</h2>
Es gibt keine offizielle Dokumentation, aber die prinzipielle Anwendung sollte hoffentlich möglichst selbsterklärend sein.
Zwei etwas ältere Veröffentlichungen können vielleicht die Anwendungsfälle und mögliche Workflows etwas klarer machen:
<ul>
<li><a href="https://netzwerkeln.bibliothekswelt.de/2020/12/21/informationen-zu-einer-isbn-auf-einen-blick-mit-malibu" target="_blank">
Informationen zu einer ISBN auf einen Blick mit malibu</a>, netzwerkeln [Blog], 2020.</li>
<li><a href="http://www.b-i-t-online.de/heft/2014-06-fachbeitrag-balz.pdf" target="_blank">
Literaturauswahl und -bestellung leichter gemacht!</a> BIT online, 2014.</li>
</ul>
Darüber hinaus gibt es in <a href="https://github.com/UB-Mannheim/malibu/wiki" target="_blank">Github ein Wiki</a> mit ein paar Unterseiten.
<h2>Quellcode und Kontakt</h2>
<p>malibu ist Open Source Software. Den Quellcode findet man auf GitHub zusammen mit der Möglichkeit eigene Issues oder Pull Requests zu stellen: <a href="https://github.com/UB-Mannheim/malibu/">https://github.com/UB-Mannheim/malibu</a></p>
<p>Ansprechperson: <a href="https://www.bib.uni-mannheim.de/ihre-ub/ansprechpersonen/dr-philipp-zumstein/">Philipp Zumstein</a></p>
<script>
function populateSelectElement(selectElementId, data) {
const selectElement = document.getElementById(selectElementId);
for (let index in data) {
let element = data[index];
if ("holdings" in element && !element["holdings"]) {
continue;
}
const option = document.createElement("option");
option.value = index;
option.text = element.name;
let country = index.substring(0,2);
let countryNode = document.getElementById(country);
if (countryNode != null) {
countryNode.appendChild(option);
} else {
selectElement.appendChild(option);
}
}
}
function updateBookmark() {
var param = document.getElementById("bibliothek").value;
var verbund = document.getElementById("verbund").value;
parameters = []
if (param != "") {
parameters.push("bibliothek=" + param);
}
if (verbund != "") {
parameters.push("verbund=" + verbund);
}
if (parameters.length > 0) {
window.location.href = window.location.pathname + "?" + parameters.join("&");
}
}
var libraries;
fetch('./isbn/srulibraries.json')
.then((response) => response.json())
.then(json => {
libraries = json;
populateSelectElement("bibliothek", libraries);
updateLinks();
let bibliothek = getParameterByName("bibliothek");
let verbund = getParameterByName("verbund");
if (bibliothek != null) {
document.getElementById("bibliothek").value = bibliothek;
}
if (verbund != null) {
document.getElementById("verbund").value = verbund;
}
});
// Interaction with local storage
for (let configParam of ["aggregationPrefered", "hidePaketInfo", "hideVerkaufsInfo", "hideAusgaben", "hideBestandsabgleich"]) {
if (JSON.parse(localStorage.getItem(configParam))) {
document.getElementById(configParam).checked = true;
} else {
// false or not yet set
document.getElementById(configParam).checked = false;
}
document.getElementById(configParam).addEventListener('change', function() {
localStorage.setItem(configParam, this.checked);
});
}
</script>
</body>
</html>