diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/Amazon/SimilarProduct.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/Amazon/SimilarProduct.php Mon Dec 13 18:29:26 2010 +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; + } + } + } +}