XML Query String Paramaters

Paramater Name Value Required Notes
Terms URL Encoded Search Phrase YES
affiliate Your assigned affiliate id YES
IP The IP Address of the person
that performed the search
hpp Numeric (ie: 10) No Indicate how many results to show
page Numeric (ie: 10) No Indicate which "page" of results to start at (based on your "hpp" setting)
strict 1 or Null No Send strict=1 if you want strict XML formatting. Ignore paramater for straight data. Strict will do things like changing & into & Your parser must reverse translate those values back for display and redirect urls. If you do not do this, the redirect URLs will be "broken" and you will very likely not be paid for clicks generated.
cdata 1 or Null No Send cdata=1 if you want the xml data values enclosed within the XML construct
Important Note:
Use of the "strict" and/or "cdata" paramaters is not required if you are not using a "real" XML parser that requires perfectly formatted XML. If you are parsing the feed manually, or with a home grown parser, then you will NOT need to send these paramaters. Just have your parser pick the feed apart, and use the resulting data for display. If you are using a canned parser, such as that which is built into java, php, or a perl module, then you will need to send in these paramaters or you will see intermittent "XML Not Well Formed" errors.

It's important to note that if you do not send in strict and/or cdata paramaters, when you try to view the XML Feed in a browser such as Microsoft Internet Explorer, the browser will report XML Errors. This is normal and expected. It does not mean that the feed is broken, it just means that the browser wanted perfect XML, and the omission of those 2 paramaters makes it "imperfect". Imperfect XML is just fine (and actually preferred) if you are using a home-grown or hand-written parsing routine that doesn't care about HTML Entities being represented as numeric symbols.

Note that you must, if using the strict or cdata paramaters, reverse translate the data, turning html entities such as "&" back into valid URL values such as "&".