Filzhut.net Filzhut.net amazon_functions for PHP (Version 0.9)
Making the work with Amazon.com™ Web Services Version 1.0 much easier

amazon_browse_listmania

Returns an array with the parsed XML-result of an amazon™ listmania-list

amazon_browse_listmania(var listmaniaID [, int type [, int format]])

With this function you can display an amazon™ listmania lists. You just need the listmaniaID of the list you want to display. Setting the type is optional: It gives you the possibility to determine the volume of the reply. LIGHT(default) returns less product-information than HEAVY.
If you are able to create XSL pages, you can set the URL of such a page as format (f.e. "http://www.yourserver.com/directory/file.xsl") and the result of this function won't be an array, but the XSL with the data the search returned.

Example 1. Get products from listmania-list "34533":

$Reply=amazon_browse_listmania("34533");

If you want to know how to work with the array the search returnes, please have a look at Work with the search reply.


© by Filzhut.net, Daniel Filzhut 2002