ljackson09
29-01-10, 16:58
Hi,
does anyone know how to pullout the top 10 books for example im looking to receive titles like the lost symbol, the davinchi code, etc that sort of book, but i have not been able to find the right set of keywords to use to get them, anyone else using a boolean search to get the top 10 'reading'
if so what keywords are you using?
this (http://www.kernow-connect.com/booksnew.php)is my page results using:
$aw_id = "538";
$aw_name = "Books";
$keywords = "books -calendar";
$oRefineBy = new stdClass();
$oRefineBy -> iId = 4;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = $AW_catid;
$oRefineByDefinition -> sName = $AW_cat;
$oRefineBy -> oRefineByDefinition = $oRefineByDefinition;
$returnedcolumns = array(iCategoryId, sBrand, sModel, iMerchantId, sAwImageUrl, fStorePrice, sAwThumbUrl, sName,sAwImageUrl,sMerchantImageUrl,sMerchantThumb Url,sDescription,sBrand);
$booleansearch = array('sQuery'=> $keywords, 'oActiveRefineByGroup' => $oRefineBy, 'iAdult' => 1, 'iLimit'=>10, 'sColumnToReturn' => $returnedcolumns, 'sMode' => 'boolean');
$oResponse= $oClient->call('getProductList', $booleansearch);
thanks
Luke
does anyone know how to pullout the top 10 books for example im looking to receive titles like the lost symbol, the davinchi code, etc that sort of book, but i have not been able to find the right set of keywords to use to get them, anyone else using a boolean search to get the top 10 'reading'
if so what keywords are you using?
this (http://www.kernow-connect.com/booksnew.php)is my page results using:
$aw_id = "538";
$aw_name = "Books";
$keywords = "books -calendar";
$oRefineBy = new stdClass();
$oRefineBy -> iId = 4;
$oRefineBy -> sName = 'Category';
$oRefineByDefinition = new stdClass();
$oRefineByDefinition -> sId = $AW_catid;
$oRefineByDefinition -> sName = $AW_cat;
$oRefineBy -> oRefineByDefinition = $oRefineByDefinition;
$returnedcolumns = array(iCategoryId, sBrand, sModel, iMerchantId, sAwImageUrl, fStorePrice, sAwThumbUrl, sName,sAwImageUrl,sMerchantImageUrl,sMerchantThumb Url,sDescription,sBrand);
$booleansearch = array('sQuery'=> $keywords, 'oActiveRefineByGroup' => $oRefineBy, 'iAdult' => 1, 'iLimit'=>10, 'sColumnToReturn' => $returnedcolumns, 'sMode' => 'boolean');
$oResponse= $oClient->call('getProductList', $booleansearch);
thanks
Luke