Skip to content
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

documents, post-migration #162

Open
lsat12357 opened this issue Mar 13, 2023 · 0 comments
Open

documents, post-migration #162

lsat12357 opened this issue Mar 13, 2023 · 0 comments

Comments

@lsat12357
Copy link
Collaborator

Part of the functionality of the custom Oregon Digital resource for Spotlight included support for pdfs. Once we are fully migrated to the new Oregon Digital that type of resource will be replaced by the IIIF resources that Spotlight provides. At the moment, the version of IIIF presentation Spotlight uses (v2) does not support pdfs, however once Spotlight moves to the next version, other media types will have the same support as images currently do.
In the meantime, we have a few options:

  1. Modify the image upload widget to act as a link.
    Then the process would be: grab one of the jpeg display images from OregonDigital and the url of the pdf show page and complete the widget using the url and uploaded image.
    Pros: this is probably a pretty simple modification. Would allow all of the metadata to be available as the user would be on item show page at OregonDigital after clicking the image.
    Cons: the user might not want to exit Spotlight, so the click should probably open a new page, and the text should warn them that the link will take them to Oregon Digital
  2. Use the iframe widget
    Currently Oregon Digital uses an iframe on its show pages as part of the universal viewer. By pasting this content in the iframe widget, the curator can embed the main viewer panel on a Spotlight page.
    Pros: this works without any changes. Future work to make the process more curator-friendly could include: a new widget that takes a pid and build the iframe programmatically (not too hard); adding a button on OregonDigial, similar to what YouTube does, whereby the user can generate the iframe code by clicking the button, copying, and then pasting into the existing iframe widget (also not hard).
    Cons: this would present the user with the viewer, however any metadata desired for the item would have to be added by the curator as text, and/or provide a link to the item show page on Oregon Digital.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant