From 95961d59db620dc71afb5be2b194df8cd6c86b70 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 19 Jul 2022 14:29:38 -0700 Subject: WIP: DOAJ OAI-PMH importer --- python/tests/files/example_doaj_article_oai.xml | 61 +++++++++++++++++++++++++ python/tests/harvest_doaj.py | 2 + 2 files changed, 63 insertions(+) create mode 100644 python/tests/files/example_doaj_article_oai.xml create mode 100644 python/tests/harvest_doaj.py (limited to 'python/tests') diff --git a/python/tests/files/example_doaj_article_oai.xml b/python/tests/files/example_doaj_article_oai.xml new file mode 100644 index 00000000..de3add52 --- /dev/null +++ b/python/tests/files/example_doaj_article_oai.xml @@ -0,0 +1,61 @@ + +
+ oai:doaj.org/article:2a48ccce13c546ceab0c6bc5b74d433d + 2015-03-21T20:28:31Z + TENDOkRpc2Vhc2VzIG9mIHRoZSBtdXNjdWxvc2tlbGV0YWwgc3lzdGVt + TENDOlNwZWNpYWx0aWVzIG9mIGludGVybmFsIG1lZGljaW5l + TENDOkludGVybmFsIG1lZGljaW5l + TENDOk1lZGljaW5l + dGVzdDp0ZXJt +
+ + + ger + Verlag Krause und Pachernegg GmbH + Journal für Mineralstoffwechsel + 1023-7763 + 1680-9408 + 1998-01-01 + 5 + 1 + 25 + 29 + 648 + Leitfaden zur medikamentösen Standardtherapie in der Osteoporose + + + Stevo Popovic + 0 + https://orcid.org/0000-0001-1234-1234 + + + Dusko Bjelica + 1 + + + Gabriela Doina Tanase + 2 + https://orcid.org/0000-0001-1111-2222 + + + Rajko Milašinović + 3 + + + + University of Montenegro, Faculty for Sport and Physical Education, Nikšić, Montenegro + University of Montenegro, Faculty for Sport and Physical Education, Nikšić, Montenegro + University of Montenegro, Faculty for Sport and Physical Education, Nikšić, Montenegro + University of Novi Sad, ACIMSR, Novi Sad, Serbia + + http://www.kup.at/kup/pdf/648.pdf + + Empfehlung + Mineralstoffwechsel + Osteoporose + Richtlinie + Therapie + + + +
diff --git a/python/tests/harvest_doaj.py b/python/tests/harvest_doaj.py new file mode 100644 index 00000000..a8dbbfd5 --- /dev/null +++ b/python/tests/harvest_doaj.py @@ -0,0 +1,2 @@ + +# TODO: test_parse_doaj_article_id() -- cgit v1.2.3