Open iannesbitt opened 7 months ago
Datacite does not have a dataset-focused sitemap. In order to scrape schema.org metadata, mnlite would need to generate a dummy sitemap from Datacite API queries. Parameters would need to include (probably):
"workflow": "datacite"
dk.gem
https://api.datacite.org/dois?client-id=dk.gem&page[size]=1000
JSON -> sitemap value mappings:
--- title: Value map for Datacite dummy sitemap creation --- flowchart LR id["JSON:id"] api["sitemap entry with url tags enclosing https://api.datacite.org/dois/{id}"] updated["JSON:attributes:updated"] lastmod["lastmod tags enclosing {updated}"] url["JSON:attributes:url"] mnurl["sysmeta url of {url}"] id --> api updated --> lastmod url --> mnurl
When requesting individual records from the dummy sitemap, mnlite will use content negotiation to request JSON-LD 🎉
Datacite API docs: https://support.datacite.org/docs/api
This feature may also be needed for DataONEorg/member-repos#96.
Datacite does not have a dataset-focused sitemap. In order to scrape schema.org metadata, mnlite would need to generate a dummy sitemap from Datacite API queries. Parameters would need to include (probably):
"workflow": "datacite"
)dk.gem
->https://api.datacite.org/dois?client-id=dk.gem&page[size]=1000
)JSON -> sitemap value mappings:
When requesting individual records from the dummy sitemap, mnlite will use content negotiation to request JSON-LD 🎉