]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1674364 - Use database bib id for cover art lookup
authorJosh Stompro <stompro@stompro.org>
Mon, 4 Mar 2019 17:16:56 +0000 (11:16 -0600)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 3 Aug 2020 21:55:29 +0000 (17:55 -0400)
commitb4eb8c68ad812e3c2e7ce045c91a26c4d2d19a61
treeabd7c75236c282364d263a092b29265d8fcc005a
parentc8c9cbbdb74f97fc68b6de23ddeb645db5f25d89
LP#1674364 - Use database bib id for cover art lookup

Export the 901c as the URN:BIBID identifier to allow the
ATOM2XHTML.xsl to construct a cover art img link using it.

Testing Notes:

I used a bookbag to test this out.
1. Create a public bookbag of items and grab the bookbag id.
2. View the source of these links on your system to see the current output.
 /opac/extras/feed/bookbag/atom/<bookbagid>
 /opac/extras/feed/bookbag/html-full/<bookbagid>
   Make note that the jacket img link uses the ISBN to lookup cover art.

Make changes.
1. Restart supercat to re-load xsl transfor files.
  osrf_control -l --service open-ils.supercat --restart
2. View the source and output of these links on your system to see the changes.
 /opac/extras/feed/bookbag/atom/<bookbagid>
 /opac/extras/feed/bookbag/html-full/<bookbagid>
   The cover art images should show up now in the html-full, and the
   URN:BIBID: identifier should be populated in the atom file.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/xsl/ATOM2XHTML.xsl
Open-ILS/xsl/MARC21slim2ATOM.xsl