-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathArchiveNRW.js
More file actions
37 lines (31 loc) · 945 Bytes
/
Copy pathArchiveNRW.js
File metadata and controls
37 lines (31 loc) · 945 Bytes
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
javascript: var signatureParts = document.getElementsByClassName(
"tree-data__order-signature"
);
/*Landesarchiv NRW, Abt. Ostwestfalen-Lippe;
Digitalisierter Bestand: P 6 / 6 (Standesämter Stadt Dortmund);
(2684) Sterberegister, Dortmund-Dorstfeld (III) | 1880,
[https://www.archive.nrw.de/archivsuche?link=VERZEICHUNGSEINHEIT-Vz_ebf6c396-02e3-458d-8e50-3814653d40e2 Bild 323]
*/
var unit = signatureParts[2].innerText.substring(
0,
signatureParts[2].innerText.indexOf(", Nr.")
);
var headline = document.getElementsByClassName(
"tree-data__title tree-data__title-static h4"
)[0].innerText;
var year = document.getElementsByClassName(
"tree-data__item tree-data__item--unitDate"
)[0].firstChild.nextSibling.innerText;
var citation =
signatureParts[1].innerText +
"; Digitalisierter Bestand: " +
unit +
"; " +
headline +
" | " +
year +
", [" +
window.location +
" Bild #]";
prompt("", citation);
void 0;