From 26add3de632194498ce2f99ffad25d8ab2637d2f Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Fri, 2 May 2025 13:46:27 +0200 Subject: [PATCH 1/2] extract the records of zbl from database --- src/zbmath_rest2oai/getAsXml.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/zbmath_rest2oai/getAsXml.py b/src/zbmath_rest2oai/getAsXml.py index a7f46406..f97e73b7 100644 --- a/src/zbmath_rest2oai/getAsXml.py +++ b/src/zbmath_rest2oai/getAsXml.py @@ -74,8 +74,12 @@ def extract_tags(result): if msc not in tags: tags.append(msc) tags.sort() - if result.get('database') == 'JFM': + db = result.get('database') + if db == 'JFM': tags.append('JFM') + elif db == 'Zbl': + tags.append('ZBL') + return tags From 9af76884c7d01d421955cc5f0aa1540fcccfbc96 Mon Sep 17 00:00:00 2001 From: shirazos7 Date: Fri, 2 May 2025 14:16:51 +0200 Subject: [PATCH 2/2] extract the records of zbl from database and add it to openaire set --- src/zbmath_rest2oai/getAsXml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zbmath_rest2oai/getAsXml.py b/src/zbmath_rest2oai/getAsXml.py index f97e73b7..93739053 100644 --- a/src/zbmath_rest2oai/getAsXml.py +++ b/src/zbmath_rest2oai/getAsXml.py @@ -78,7 +78,7 @@ def extract_tags(result): if db == 'JFM': tags.append('JFM') elif db == 'Zbl': - tags.append('ZBL') + tags.append('openaire') return tags