Skip to content

Claude/iiif content and redirects - #15

Merged
hadro merged 4 commits into
mainfrom
claude/iiif-content-and-redirects
Sep 30, 2026
Merged

hadro merged 4 commits into
mainfrom
claude/iiif-content-and-redirects

Conversation

@hadro

@hadro hadro commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Fixes #12 and #13, plus also addresses RTL and TTB cases

claude and others added 4 commits September 29, 2026 23:46
- ?iiif-content=<manifest or collection URL, or encoded Content State>
  (or ?manifest=) shelves that item on load without saving it to the
  visitor's shelf; ?examples=0 still hides the starter shelf (#13)
- Manifest fetches that get a 4xx when asking for JSON are retried as a
  plain request, so ARK/handle resolvers that only redirect browser-style
  requests work (#12)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ay7yMTHM1UtfZgC3MQ79hL
- parseManifest reports direction as ltr/rtl/ttb/btt (baked index too)
- top-to-bottom and bottom-to-top books scrub with vertical mouse moves
  on cards and in the viewer (touch stays sideways so the page still
  scrolls), and turn pages with Up/Down arrow keys; bottom-to-top puts
  page 1 at the bottom
- right-to-left books: the tick strip and viewer slider now run right
  to left, matching how they scrub
- viewer: opening a book no longer starts at the page the previous
  book was left on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ay7yMTHM1UtfZgC3MQ79hL
The new card takes its title from the manifest. Drops the Ferns volume's
baked thumbnails; run the "Bake example shelf" workflow to bake the new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ay7yMTHM1UtfZgC3MQ79hL
@hadro
hadro merged commit a2b1d6e into main Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

manifest input should follow redirects

2 participants