Needs work
Project:
Amazon Store
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2011 at 13:33 UTC
Updated:
23 May 2011 at 15:00 UTC
Since we're getting this data back from Amazon, would be nice to be able to display it in a panel.
[EditorialReviews] => SimpleXMLElement Object
(
[EditorialReview] => SimpleXMLElement Object
(
[Source] => Product Description
[Content] => {editorial_review_content snipped...}
[IsLinkSuppressed] => 0
)
)
Comments
Comment #1
rfayWeird that it's not there. Long, long time since I've visited that.
Comment #2
mcurry commentedOK. I don't see it, in the 6.x branch. Possible that it was there and got 'lost' at some point? I'm new to ctools/panels/widgets so if you've got a copy lying around... please let me know :D
Comment #3
mcurry commentedHmm, it appears that the only reference to the EditorialReviews field in the ctools dir is EditorialReviews->EditoralReview[0], rendered in the "item description" widget.
But it looks like that's the "Item Description" response from Amazon, that's not an editorial review that I'm looking for.
Comment #4
mcurry commentedFor example, a book such as No Country for Old Men has a bunch of editorial reviews.
But amazon_store module's Debug Info panel shows:
So we're not even getting the full list of editorial reviews...
Investigating further... any advice is appreciated.
Comment #5
mcurry commentedOf course, I realize that Amazon may not provide the full list of reviews (see, I told ya that I was something of an AWS newbie... :D )
Comment #6
rfayThe one thing to be careful of:
1. Normally Amazon US has a good review in the first review.
2. Often other locales don't have anything at all.
So you can't assume that there will be any reviews.
Comment #7
mcurry commentedHrm... looking more and more like Amazon won't provide the other editorial review data in the API. See EditorialReview Response Group:
Feh... That explains it then.
Comment #8
mcurry commented@rfay #6:
Yeah, I understood that, but for some strange reason I was hoping to be able to show editorial reviews for books and such where available. It looks like most editorial reviews won't be available, see my previous comment for Amazon's API docs. Non-copyrighted editorial reviews may be available, but I doubt there are very many of those.
I'll keep this one open just in case I find some product ASINS that return something other than the default EditorialReview to test against.
Comment #9
mcurry commentedUpdate status to reflect need to find product ASINS that return more than one entry in the EditorialReviews->EditorialReview[] array. See #6.