Comment 3 for bug 1674364

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I think we should not use the TCN, 001 for pulling the data. Some sites do use TCN values that are not the same as the database bib id number. I think we need to use the 901c value to pull the cover art.

Here is a working branch that pulls out the 901c as a URN:BIBID: value. And then uses that in the ATOM2HTML.xsl for cover art.
user/stompro/lp1674364_html_feed_atom_coverart_bibid
https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/lp1674364_html_feed_atom_coverart_bibid

Testing notes.

The xsl files that seem to be used are in /openils/var/xsl, not the ones under /openils/var/web/opac/extras/xsl/

Restart supercat to reload files after changes.
osrf_control -l --service open-ils.supercat --restart

I used a bookbag to display a group of results with links like
 /opac/extras/feed/bookbag/atom/<bookbagid>
 /opac/extras/feed/bookbag/html-full/<bookbagid>

Josh