-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALTO exists but Overlay-Tool is not visible #294
Comments
Which version of Mirador are you using? The plugin is currently incompatible with the bleeding edge version, if you use that, try switching to the last stable release (3.3.0, I think). |
Thank you for your fast response! Even pinning mirador from "^3.3.0" to 3.3.0 (npm install --save --save-exact [email protected]) and deactivating all other plugins in (the widget still is shown and working for hOCR-manifest https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb11163886/manifest) My package.json:
reduced index.js:
my webpack.config.js (that did a good job / result produces mirador with plugins, even textoverlay shown for hocr):
Another Mirador 3 installation is able to show ALTO-Fulltext of the same manifest (I do not know how they packaged/built mirador): https://alexana.org/ResCarta-Web/mirador/?doc_id=49ce0abe-dfce-4e8d-b982-dfc768f760ea/ALX00000/00000001/00000012 Maybe writing a test for the ALTO-manifest will help? I will try to fork the plugin and dive into writing a test with my manifest. |
meanwhile I checked out mirador-textoverlay code and put my manifest url into
after Testing the manifest on |
maybe it is a problem with the content type. the request for getting an alto (xml) file: returns a contenty-type of |
Fixing content-type (locally in ResCartaWeb webapp) to |
I have the same problem with ResCarta manifest it shows (Left) on their build and also on my nuxt app ALTO files are in xml format on link No CORS error. @datazuul Thank you for raise this question. Still trying to build a new M3 with additional plugins. |
Sorry guys, having a baby must have messed me up more than I noticed... @DigitLib Your manifest works with the demo of that branch: https://iiifv3--mirador-textoverlay.netlify.app @datazuul Your manifest doesn't, but that's probably because of the missing CORS header. I'll try to make a new release soon, sorry about that! |
I build my own Mirador with textoverlay-plugin 0.3.8:
I embedded it into html with this settings:
But tool button is not shown on any canvas. Setup should be fine, because it works with a manifest with hOCR.
Is it a problem with my ALTO-Format?
My manifest is:
https://alexana.org/ResCarta-Web/iiif/api/presentation/3/49ce0abe-dfce-4e8d-b982-dfc768f760ea%252FALX00000%252F00000001%252F00000012/manifest
The text was updated successfully, but these errors were encountered: