Skip to content

Commit 0195324

Browse files
committed
Begin to translate Marc212EDM to fix #589
1 parent 6a7f240 commit 0195324

File tree

8 files changed

+3702
-1
lines changed

8 files changed

+3702
-1
lines changed

metafacture-runner/src/main/dist/examples/marc21-to-edm/MARC21-EDM.fix

Lines changed: 534 additions & 0 deletions
Large diffs are not rendered by default.

metafacture-runner/src/main/dist/examples/marc21-to-edm/MARC21-EDM.flux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ open-file|
1212
//open-http|
1313
decode-xml|
1414
handle-marcxml|
15-
morph(FLUX_DIR + "MARC21-EDM.xml", *)|
15+
fix(FLUX_DIR + "MARC21-EDM.fix", *)|
1616
add-oreaggregation|
1717
rdf-macros|
1818
encode-xml(roottag="rdf:RDF", recordtag="", namespacefile= FLUX_DIR+"edm-namespaces.properties")|
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
default out = "stdout";
2+
default file = FLUX_DIR + "Test_DNB_Mono.xml";
3+
default id = "1025374754";
4+
default sector = "sec_002";
5+
default media_type = "mediatype_003";
6+
7+
file|
8+
open-file|
9+
//"1025374754"|
10+
//id|
11+
//template("https://portal.dnb.de/opac.htm?method=requestMarcXml&idn=${o}")|
12+
//open-http|
13+
decode-xml|
14+
handle-marcxml|
15+
morph(FLUX_DIR + "MARC21-EDM.xml", *)|
16+
add-oreaggregation|
17+
rdf-macros|
18+
encode-xml(roottag="rdf:RDF", recordtag="", namespacefile= FLUX_DIR+"edm-namespaces.properties")|
19+
write(out);

metafacture-runner/src/main/dist/examples/morph/marc21-to-edm/Test_DNB_Mono.xml

Lines changed: 1560 additions & 0 deletions
Large diffs are not rendered by default.

metafacture-runner/src/main/dist/examples/morph/marc21-to-edm/Test_DNB_Mono2.xml

Lines changed: 1467 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
2+
edm http://www.europeana.eu/schemas/edm/
3+
dcterms http://purl.org/dc/terms/
4+
dc http://purl.org/dc/elements/1.1/
5+
skos http://www.w3.org/2004/02/skos/core#
6+
oai http://www.openarchives.org/OAI/2.0/
7+
ore http://www.openarchives.org/ore/terms/
8+
crm http://www.cidoc-crm.org/cidoc-crm/
9+
ddb http://www.ddb.de/
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
dat00112 time_10000
2+
dat00109 time_12000
3+
dat00108 time_13000
4+
dat00107 time_14000
5+
dat00106 time_15000
6+
dat00105 time_16000
7+
dat00104 time_17000
8+
dat00103 time_18000
9+
dat00111 time_30000
10+
dat00102 time_33000
11+
dat00101 time_34000
12+
dat00100 time_35000
13+
dat00089 time_36000
14+
dat00090 time_36100
15+
dat00091 time_36200
16+
dat00092 time_36300
17+
dat00093 time_36400
18+
dat00094 time_36500
19+
dat00095 time_36600
20+
dat00096 time_36700
21+
dat00097 time_36800
22+
dat00098 time_36900
23+
dat00099 time_36950
24+
dat00078 time_37000
25+
dat00079 time_37100
26+
dat00080 time_37200
27+
dat00081 time_37300
28+
dat00082 time_37400
29+
dat00083 time_37500
30+
dat00084 time_37600
31+
dat00085 time_37700
32+
dat00086 time_37800
33+
dat00087 time_37900
34+
dat00088 time_37950
35+
dat00067 time_38000
36+
dat00068 time_38100
37+
dat00069 time_38200
38+
dat00070 time_38300
39+
dat00071 time_38400
40+
dat00072 time_38500
41+
dat00073 time_38600
42+
dat00074 time_38700
43+
dat00075 time_38800
44+
dat00076 time_38900
45+
dat00077 time_38950
46+
dat00056 time_39000
47+
dat00057 time_39100
48+
dat00066 time_39200
49+
dat00065 time_39300
50+
dat00064 time_39400
51+
dat00063 time_39500
52+
dat00062 time_39600
53+
dat00061 time_39700
54+
dat00060 time_39800
55+
dat00059 time_39900
56+
dat00058 time_39950
57+
dat00110 time_60000
58+
dat00055 time_60100
59+
dat00054 time_60200
60+
dat00053 time_60300
61+
dat00052 time_60400
62+
dat00051 time_60500
63+
dat00050 time_60600
64+
dat00049 time_60700
65+
dat00048 time_60800
66+
dat00047 time_60900
67+
dat00046 time_61000
68+
dat00043 time_61100
69+
dat00044 time_61105
70+
dat00045 time_61145
71+
dat00040 time_61200
72+
dat00041 time_61205
73+
dat00042 time_61245
74+
dat00037 time_61300
75+
dat00038 time_61305
76+
dat00039 time_61345
77+
dat00034 time_61400
78+
dat00035 time_61405
79+
dat00036 time_61445
80+
dat00031 time_61500
81+
dat00032 time_61505
82+
dat00033 time_61545
83+
dat00028 time_61600
84+
dat00029 time_61605
85+
dat00030 time_61645
86+
dat00025 time_61700
87+
dat00026 time_61705
88+
dat00027 time_61745
89+
dat00020 time_61800
90+
dat00021 time_61807
91+
dat00022 time_61825
92+
dat00023 time_61847
93+
dat00024 time_61875
94+
dat00015 time_61900
95+
dat00016 time_61907
96+
dat00017 time_61925
97+
dat00018 time_61947
98+
dat00019 time_61975
99+
dat00004 time_62000
100+
dat00005 time_62010
101+
dat00006 time_62020
102+
dat00007 time_62030
103+
dat00008 time_62040
104+
dat00009 time_62050
105+
dat00010 time_62060
106+
dat00011 time_62070
107+
dat00012 time_62080
108+
dat00013 time_62090
109+
dat00014 time_62095
110+
dat00001 time_62100
111+
dat00002 time_62110
112+
dat00003 time_62120

0 commit comments

Comments
 (0)