Using PSE with Search by Keyword
Example :
Wizard
The most powerful feature of our Price Search Engine (PSE) is the capability to search by KEYWORD through millions of products' within a couple of seconds.
Using PSE to search by keyword is very easy. Here are two examples showing Javascript and PHP script to call PSE searching for keyword 'bluetooth headset'.
Javascript:
<script language="javascript" src="http://www.datafeedfile.com/dff_jsthrow.php?script=search_index&affid=____&keyword=bluetooth+headset"></script>
Examine the &keyword=bluetooth+headset parameter from the javascript calling script above. Please note that you have to separate parameters with '&' ampersand sign. If your keyword have more than one word make sure the keywords will be URL encoded to a URL compliant syntax (that is why we have the '+' plus sign between the word bluetooth and headset). Also, make sure to replace the after affid= with your DFF Affiliate ID.
PHP:
<?include('http://www.datafeedfile.com/dffphp_script_search_index.php?dff_affid=____&dff_keyword=bluetooth+headset&'.$_SERVER['QUERY_STRING']);?>
Examine the &keyword=bluetooth+headset parameter from the PHP calling script above. Please note that you have to separate parameters with '&' ampersand sign. When using PHP scripts you have to prepend the prefix 'dff_' in front of every single parameter. If your keyword have more than one word make sure the keywords will be URL encoded to a URL compliant syntax (that is why we have the '+' plus sign between the word bluetooth and headset). Using PHP this function is called urlencode($string_input). Also, make sure to replace the after affid= with your DFF Affiliate ID.
Options and Parameters you can pass to PSE
There are many options / parameters you can specify when using the DFF PSE script. While none of the parameters are required except for
affid, you should at least specify one filtering parameters such as keyword or category, otherwise the default search result will be random and will not show anything useful.
See all available PSE parameters