dschmidt opened a new pull request, #3527: URL: https://github.com/apache/tika/pull/3527
FictionBook names its cover in `<coverpage>` as a reference (`xlink:href="#id"`) to one of the base64 `<binary>` elements. FictionBookParser emitted every binary without a type, so `/unpack/preset/thumbnail` had nothing to serve for an FB2 file. The parser now remembers the first image referenced from `<coverpage>` and marks the binary with that id as `THUMBNAIL`; the other binaries stay as they were. Binaries come after the description in an FB2 file, so the reference is always known when they are emitted. Test: in `test.fb2`, `cover.jpg` is the `THUMBNAIL`, the portrait `tolstoy_port.png` is untyped. CHANGES entry added. https://issues.apache.org/jira/browse/TIKA-5035 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
