bplmaps / blacklight-allmaps

Source code of Allmaps plugins for Blacklight/GeoBlacklight software.
Apache License 2.0
1 stars 0 forks source link

StoreSidecarAnnotation#perform - validate IIIF manifest and Allmaps responses #54

Open ebenenglish opened 2 weeks ago

ebenenglish commented 2 weeks ago

In StoreSidecarAnnotation#perform (app/jobs/blacklight/allmaps/store_sidecar_annotation.rb), we should validate the responses returned from the document's IIIF manifest URL and the Allmaps annotation API (annotations.allmaps.org) before committing the information to the database.

(This is already listed as a TODO in the file.)

Also, we probably want to replace references to production URLs with example URLs in the comments to avoid excessive crawling.