Skip to:
For example:https://duepublico2.uni-due.de/oer/oai?verb=GetRecord&metadataPrefix=mods&identifier=oai:oer.uni-due.de:duepublico_mods_00074621returns metadata containing<mods:url access="preview" >https://duepublico2.uni-due.de/rsc/thumbnail/duepublico_mods_00074621.png</mods:url>This URL returns a http 4040 response code.The metadata should contain either no URL, or a working one, maybe same as the icon used in the results pages.
The best way to get the image now is:
https://www.mycore.de/mir/api/iiif/image/v2/thumbnail/mir_mods_00000003/full/!256,256/0/default.png
You can write a Helper-Method like
For example:
https://duepublico2.uni-due.de/oer/oai?verb=GetRecord&metadataPrefix=mods&identifier=oai:oer.uni-due.de:duepublico_mods_00074621
returns metadata containing
<mods:url access="preview" >https://duepublico2.uni-due.de/rsc/thumbnail/duepublico_mods_00074621.png</mods:url>
This URL returns a http 4040 response code.
The metadata should contain either no URL, or a working one, maybe same as the icon used in the results pages.