Content Cafe module should use an XML lookup method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
From the documentation I received for the Content Cafe API when we signed up for the service the methods Evergreen is currently using for lookups generally fall into the "test to make sure this is working" category, not the "do your normal lookups this way" method. The exception being the image lookup method, which falls into the "directly load the image off of our server" category instead.
The branch below changes this, teaching the Content Cafe module how to do XMLPost lookups. This additionally gives us the benefit of multiple ISBN and UPC lookups in a single call as well as generally including UPCs.
We lose the "no image vs blank image" option as that is no longer needed. Instead we can report a 404 when we have no image, whether or not that was because of not having identifiers at all or Content Cafe not having one.
We gain an option to prefer ISBN or UPC, or to ignore one or the other.
In addition there is a small addition to AddedContent.pm for the "send a post request" method instead of embedding that in the Content Cafe module itself.
Changed in evergreen: | |
milestone: | none → 2.7.0-beta1 |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
When i tried this using some sample contentcafe test codes, I got memcache errors in my logs like "could not store xxxx in memcache server" for searches, facets, book jackets, etc. Visually, the facets did not display, though the book jackets worked and there appeared to be attempts at showing the added contents inside the tabs.
Not sure what happened, marking this bug as incomplete pending further testing and feedback.