You are here: Zend Framework: Question about images and Zend_Service_Amazon « PHP Programming Language « IT news, forums, messages
Zend Framework: Question about images and Zend_Service_Amazon

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация