LP#1674364 - Use database bib id for cover art lookup user/mccanna/lp1674364_html_feed_atom_coverart_bibid_signoff
authorJosh Stompro <stompro@stompro.org>
Mon, 4 Mar 2019 17:16:56 +0000 (11:16 -0600)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 20 Feb 2020 20:37:45 +0000 (15:37 -0500)
commita6c5a4710426942bb40a3c165a18c679d8cf1128
treeaee8979f315ae504eab443f676a6481ab76b160b
parent4340cf61c3310c45368e250537126383f8c172aa
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>
Open-ILS/xsl/ATOM2XHTML.xsl
Open-ILS/xsl/MARC21slim2ATOM.xsl