Thanks, Ben, that was really helpful! The app used to look for images by isbn but when that didn't work I floundered a bit. Looking up /small/r/ID and /medium/r/ID seems to work well across the board.
Ken On Mon, Nov 30, 2015 at 10:48 AM, Ben Shum <[email protected]> wrote: > Hi Ken, > > Without knowing too much else about the innards of these commands and > calls... I can tell you that the usual suspect for an item jacket > image uses the bib record ID in Evergreen for the link. As of > Evergreen 2.7 and up at least. Prior to that, it used to be ISBN or > something. But nobody should be using Evergreen versions that old > anymore, or at least, this community no longer supports versions that > old. > > So, if there had been an image for that bib record 1558155 in NTLC's > catalog, the URL would have been what you used except instead of > "tcn", you'd use the ID itself as the ending. > > Course that's a bad example and doesn't seem to show anything for the > image. > > From ours as a separate example: > > https://acorn.biblio.org/eg/opac/record/699851 > > has > > https://acorn.biblio.org/opac/extras/ac/jacket/large/r/699851 > https://acorn.biblio.org/opac/extras/ac/jacket/small/r/699851 > > Those are the two versions of the image for us. > > So I think that if one were to use the bib record ID instead of TCN, > that would be a good start. > > -- Ben > > On Fri, Nov 27, 2015 at 6:55 PM, Ken Cox <[email protected]> wrote: > > Geoff, thanks for the feedback. I am totally with you on the OU level > > stuff and will deal with that soon. > > > > Re: jacket images. Definitely could be a bug here. Devs, please help > > me understand what is supposed to happen. Here's what happens in the > > app: > > > > 1. App queries "sorcerer's stone" via > https://catalog.northtexaslibraries.org/ > > > > This returns a list of ids [1558155, 814731, 1341211, 1317697, > 327359] > > > > [ for each result ] > > > > 2. App calls > https://catalog.northtexaslibraries.org/osrf-gateway-v1?service=open-ils.search&method=open-ils.search.biblio.record.mods_slim.retrieve¶m=1558155 > > > > This returns the payload (converted) > > > > [ > > { > > "online_loc": [ > > > > ], > > "types_of_resource": [ > > "text" > > ], > > "isbn": "9780545790352 (hardcover) ", > > "toc": null, > > "publisher": null, > > "pubdate": "2015", > > "edition": "First illustrated edition.", > > "title": "Harry Potter and the sorcerer's stone ", > > "copy_count": null, > > "call_numbers": [ > > > > ], > > "physical_description": "print 246 pages : color illustrations ; 28 > cm. ", > > "doc_id": 1558155, > > "series": [ > > > > ], > > "subject": { > > "Magic": 1, > > "England": 1, > > "Schools": 1, > > "Wizards": 1, > > "Potter, Harry (Fictitious character)": 1 > > }, > > "tcn": " 2015009929", > > "doc_type": null, > > "synopsis": "Rescued from the outrageous neglect of his aunt and > > uncle, a young boy with a great destiny proves his worth while > > attending Hogwarts School for Witchcraft and Wizardry.", > > "author": "Rowling, J. K." > > } > > ] > > > > 3. App constructs a record info with the tcn above: " 2015009929" > > > > 4. App tries to load jacket image from > > https://catalog.northtexaslibraries.org/opac/extras/ac/jacket/small/r/ > > 2015009929 > > > > What is the proper algorithm for constructing the jacket image URL > > across different libraries? > > > > Ken > > > > > > On Fri, Nov 27, 2015 at 2:16 PM, Geoff Sams <[email protected]> > wrote: > >> Now that I've had a chance to really use the app, I figured I post some > feedback here as well. > >> > >> First off, wow! The app look and feel are really nice. Each interface > is snappy and seems to work pretty smoothly. From a design stand point, I > think this is pretty solid. > >> > >> A possible bug: Jacket Images do not seem to appear for me when there > are available images in the catalog. It doesn't appear that either images > entered into the system manually, or OpenLibrary.org images are appearing. > >> > >> A visual preference: When there is no image, the space for the image > shows up white, which is at odds with the rest of the app's design elements > and is a little jarring. This is more opinion than anything else, take it > or leave it, won't bother me a bit. I'm not even sure if this one is > possible to change in any case without changing the blank image that is > used everywhere. > >> > >> I think that utilizing the same sorting for OUs as the TPAC does would > be ideal for the app as well. As far as I can tell that is by OU-level, > then by alpha within a level. Currently in the app, the consortium level > is at the top, then everything else is below that in alpha for my > consortium. We have 3 levels in our group: Consortium, Geographic Area, > Library. So all of the Geographic Areas are in the list with the Libraries > and is likely going to be a source of confusion if it remains that way. > >> > >> Everything else I feel works how I would expect it to work, and I can't > really think of anything that I'd make a change to right off. I'm going to > keep toying around with things in any case. > >> > >> As for Justin's comments, I tend to agree with his assessment for the > most part. -7 in particular would be great to have. Some of our libraries > have features specific to their subdomain that would be great to see > included for their patrons. I'm not sure what all bleeds through to the > app, but if anything does they'd want to keep it available. Electronic > Resources are definitely a must, series/subject headings being links would > be fantastic, and yes please to barcode searching. > >> > >> Overall, I like the app, and I'm looking forward to being able to show > it off to the rest of my consortium. I really appreciate all of the work > that you have put into this app, and I look forward to continue helping > test it. > >> > >> Thanks, > >> Geoff Sams > >> Library Manager > >> Roanoke Public Library > >> > >> > >> -----Original Message----- > >> From: Open-ils-dev [mailto: > [email protected]] On Behalf Of Justin > Hopkins ?? > >> Sent: Tuesday, November 24, 2015 7:40 PM > >> To: Evergreen Development Discussion List < > [email protected]> > >> Subject: [OPEN-ILS-DEV] Beta App Feedback > >> > >> Ken, > >> > >> So awesome. It feels cool just to log in and use the app. I know I > speak for everyone when I say how much we appreciate your hard work on this. > >> > >> From my limited experience so far I'd offer the following: > >> > >> [-7]: Perhaps we could use another, or expand on the .json file so that > we could include all libraries in a given consortium/system for a more fine > grained GPS based library suggestion > >> [-6]: Add the consortium level as an option for search scope > >> [-5]: Along the same lines, make user preferences already stored in > Evergreen accessible/applicable (default locations, etc) or store new > preferences for the app > >> [-4]: Show some indication of consortium/system/branch levels in > location dropdowns. It's not clear what is a system and what is a branch, > and could make it too easy to set a system as the pickup location. I'm not > sure how that would resolve. > >> [-3]: Electronic resources don't display their 856 links > >> [-2]: Subject and series information on the record pages could be links > >> [-1]: A common feature among library apps, or apps where searching for > books is a likely operation, is a barcode search - I think that would be a > nice addition. > >> > >> Thanks again! I'm looking forward to playing around with this and > putting it more to use. > >> > >> -- > >> Regards, > >> Justin > > > > > > > > -- > > -Ken > > > > -- > Benjamin Shum > Evergreen Systems Manager > Bibliomation, Inc. > 24 Wooster Ave. > Waterbury, CT 06708 > 203-577-4070, ext. 113 > -- -Ken
