XML : Product Search Engine
XML response example |
PSE Documentation |
PSE Parameters |
XML + PHP Integration Example |
Product SKU data feed download |
Output Explanation
You have the flexibility to parse and output our XML data feed. Simply submit a request to this address:
Version 1: http://www.datafeedfile.com/xml/xml_search.php?affid=...&dfftoken=...&keyword=...
Version 2: http://www.datafeedfile.com/xml/xml_search2.php?affid=...&dfftoken=...&keyword=... (utf8 + more data)
This XML example demonstrate the XML layout provided by DataFeedFile.com
Request Variables
In order for you to get XML data feed, there are some request variables that you need to submit to Datafeedfile.com XML Service.
Here is list of variable that you need to specify when requesting a XML document:
| Variable | Required | Description |
| affid | Y | Affiliate ID, is a unique identifier number for each DFF affiliate account |
| dfftoken | Y | Your unique token. Generate this unique token string of characters from your Affiliate Control Panel > Settings > XML. |
| keyword | N | Search Keyword Phrase, is the keyword(s) you would like to perform the search about |
| mernum | N | Merchant Number, is the merchant / store number used by DataFeedFile.com to narrow search to a particular merchant only. |
| mfgnum | N | Manufacturer Number, is the manufacturer / name brand number used by DataFeedFile.com to narrow search to a particular manufacturer only. |
| cat1num | N | DFF 1st level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| cat2num | N | DFF 2nd level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| catnum | N | DFF 3rd level Category Number, is DFF category number used by DataFeedFile.com to properly classify products in our internal database. |
| pricelow | N | Minimum price. Filters search result to only show products with minimum price of pricelow |
| pricehigh | N | Maximum price. Filters search result to only show products with maximum price of pricehigh |
| sort | N | Controls the ordering of search result. The options are priceasc, pricedesc, relevance, prdtrating, storerating |
| offset | N | Starts output of search result from a particular record number instead of starting from default 1 |
| limit | N | Limit the amount of output from 1 - 20, maximum output for xml query is limited to 20 search results at this time. |
| For more detailed list of options you can use go to our WIKI about DFF PSE parameters. |
Price Search Engine Data Query Testing Tool
We have a data query testing tool to help test the affect of the Price Search Engine parameters located at Affiliate Login > Support > Debug > PSE
Requirements
1. Please make sure your XML Access DFF Token is ACTIVE. To activate and generate token you must login and go to Settings > XML.
2. Set the Requesting IP address of the computer / server / client that will be used to make the query. Set IP at Settings > XML.
3. Generate dfftoken variable. You must go to Settings > XML to generate an XML Access DFF Token and use this in the dfftoken variable.
|