diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/Amazon/CustomerReview.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/Amazon/CustomerReview.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,86 @@ +ownerDocument); + $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05'); + foreach (array('Rating', 'HelpfulVotes', 'CustomerId', 'TotalVotes', 'Date', 'Summary', 'Content') as $el) { + $result = $xpath->query("./az:$el/text()", $dom); + if ($result->length == 1) { + $this->$el = (string) $result->item(0)->data; + } + } + } +}