Use cover image/blurb URL from field 856
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Wishlist item:
MARC 21 uses field 856 for electronic "links", where you can have URLs for example covers images and/or blurbs.
Most of the libraries in Finland get the cover image and blurb data URLs via http://
856 4 2. ‡uhttp:
856 4 2. ‡uhttp:
The URL "key" parameter has nothing to do with ISBN or anything else in the MARC.
It should be possible to configure EG so that 856‡u that matches a (configurable) regexp, or if 856‡z matches some text, or if 856‡q is "IMAGE", the URL is used as the cover image.
Or grabbing the blurb from the url, if some other rules are matched.
From the discussion on IRC:
< jeff> paxed: there are two major approaches that come to mind: 1) seek the url in the template tookit bits and populate/use it if found. you will encounter mixed content warnings/errors when logged in unless you proxy the image or it is served by an https url. 2) write an added content handler that extracts the url from the marc. you will need the added content by record id branch as a starter.
[18:41] < jeff> paxed: as i mentioned, i'm interested in this and would probably work on option 2 myself. it has applicability for other bib sources, and benefits from some caching which would skip the need to parse the bib on every cover image display.
Changed in evergreen: | |
status: | New → Triaged |
tags: | added: pullrequest |
tags: | removed: tpac |
tags: | added: needsreleasenote |
tags: |
added: cat-marc removed: wishlist |
tags: |
added: needsrebase removed: needsreleasenote |
Changed in evergreen: | |
status: | Triaged → Confirmed |
I wonder if this could tie into bug 1065378