MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

adding the resourceType to enrich our Metadata #74

Closed Shirazos7 closed 1 month ago

Shirazos7 commented 4 months ago

Issue description:

we have different Types of articles so i just used my improvisation to solve it . Type of the Document: Journal Article , Collection Article , Book
i made a get request to see if there is any other possibilities and it appear that there is various kinds of articles serial , jorunal , article etc .... so my solution was to have many cased in the xslt if there is any document_type with the word article then it should take the journal article as property if there is Book then take the Book otherwise it should take the type Other.

TODOS:

adding the resourceType element with its subproperty

this adjustment is to enrich the metadata and also to validate it.

Shirazos7 commented 4 months ago

this commits fix the issue

9a1438e c92b6bf