|  | Posted by Andrew Taylor on 03/06/07 22:29 
Hi,
 I'm trying to utilise the Zend_Server_Amazon API in Zend Framwork to
 view images of search results.
 
 require_once'Zend/Service/Amazon/Query.php';
 
 $query = new Zend_Service_Amazon_Query('MY-KEY', 'UK');
 $query->Category('Books')->Keywords('PHP');
 $results = $query->search();
 
 foreach($results as $result) {
 
 
 echo $result->Title.'<br>';
 }
 
 This example works great for getting the book title, but, I don't
 understand how to then get the image. There is another class,
 Zend_Service_Amazon_Image, which seems to be the ticket; but it expects
 the parameter to be of type DOM. Any examples of how to use this class?
 I wrongly presumed you'd pass it an instance of the ZS_AQ class.
 
 Thanks
 
 Andrew
  Navigation: [Reply to this message] |