Skip to content

Iabookreader with IIIF Manifest V3 fails to highlight when search term is passed via URL #445

@DiegoPino

Description

@DiegoPino

What?

New to me.

Was testing the IABookreader behavior today and noticed that, when IIIF Manifest V3 with page/individual hints is loaded the URL fragment (#search/someword) is ignored. This does not happen on a Manifest V2.

Not clear yet what/how this is happening but it might be related to how the default mode (the /mode/) is being added when a paging hint is found, not taking in account any previous passed /search. This is JS.

@alliomeria will ask to replicate. Kinda a biggie bc people love their highlights

Update. This happens not only on V3. It is related to how URL based manifests are being parsed (when using an exposed endpoint) and when that happens, how the https://github.com/internetarchive/bookreader/blob/master/src/plugins/plugin.resume.js plugin kicks in sooner replacing anything passed via a cookie content.
Options are:

  • Override it?
  • Allow users to disable it?
  • Make resume aware of a search?

I never liked the resume one to be honest....

Metadata

Metadata

Assignees

Labels

Field FormatterThe thing that glues the pieces and adds glitterIIIFSpecs/Manifests/ImplementationsJavascriptFavourite language of a PHP developerUXLike UI but with an XbugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions