doc.datafeedfile.com has been deprecated. Go to our new colaborative documentation at wiki.datafeedfile.com

Home · Affiliate FAQ · Merchant FAQ · Examples · Merchants · Affiliate Networks · Forums · Wiki · Blog · Login
DatafeedFile.com Documentation 1.02
Prev XML Search Query Next


6.1. Search Query Parameters

You can have one or more search parameters to the XML search query by adding the search parameters to the querystring of your XML query.

keyword

You can add keyword=<keyword> to the querystring to specify a keyword for the query. The keyword has to be URL-encoded.

catnum

You can add catnum=<id> to the querystring to specify a category for the query. You can find the catnum you want by logging into your affiliate account and using the category finder.

mernum

You can add mernum=<id> to the querystring to specify a merchant for the query. You can find the mernum you want by logging into your affiliate account and using the merchant finder.

mfgnum

You can add mfgnum=<id> to the querystring to specify a manufacturer for the query. You can find the mfgnum you want by logging into your affiliate account and using the manufacturer finder.

pricelow

You can add pricelow=<price> to the querystring to specify a minimum price for the query.

pricehigh

You can add pricehigh=<price> to the querystring to specify a maximum price for the query.

sort

You can add sort=<sort type> to the querystring to specify how the search engine sorts the search results. If no sort field is present in the querystring, the search engine sorts by best match; if sort=prdtrating is specified, the search engine sorts by descending product rating; if sort=storerating is specified, the search engine sorts by descending merchant rating; if sort=priceasc is specified, the search engine sorts by ascending price (from low to high); if sort=pricedesc is specified, the search engine sorts by descending price (from high to low).

limit

You can add limit=<limit> to the querystring to specify up to how many products to return at a time. If limit is not specified or is set to a value higher than 20, the maximum limit of 20 will be used.

offset

You can add offset=<offset> to the querystring to specify an offset for the search results. Setting the offset to 10, for example, will skip the first ten products found and return a list of products starting from the eleventh product found up to the limit. If the offset is greater than or equal to the total number of products found, the search engine will return an empty product list.

Example queries:
http://www.datafeedfile.com/xml/xml_load.php?xml_script=xml_search.php&dfftoken=ODNmN2QwYmM2Yjc2NDBhZGZjNDI2ZT&affid=1001
&keyword=star+wars&catnum=193
http://www.datafeedfile.com/xml/xml_load.php?xml_script=xml_search.php&dfftoken=ODNmN2QwYmM2Yjc2NDBhZGZjNDI2ZT&affid=1001
&keyword=processors&mfgnum=2014&pricehigh=250&offset=20


Prev
XML Search Query
Home
Chapter
Next
Search Query Results

User Comments

No comments found for this page.

Add Comment

Please use this form to add your own comments regarding your experience with particular features of DataFeedFile, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged.

Code: Please enter the code to the left into the code field.
Name:
Email:
Comment:
 

Project hosted by PriceComparison.com | Designed by DataFeedFile.com
Copyright © 2005-2006 DataFeedFile.com - Online affiliate marketing industry datafeed file integration web services