diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/Amazon/SimilarProduct.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/Amazon/SimilarProduct.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,61 @@ +ownerDocument); + $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05'); + foreach (array('ASIN', 'Title') as $el) { + $text = $xpath->query("./az:$el/text()", $dom)->item(0); + if($text instanceof DOMText) { + $this->$el = (string)$text->data; + } + } + } +}