Data feed file integration price comparison shopping script

Documentation Wiki - DataFeedFile.com - Online merchant datafeed integration for affiliates : dffXMLJSONPaging

HomePage | Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Home Affiliate FAQ Merchant FAQ Examples Merchants Networks & Programs Forum Blog Wiki Knowledge Base Login

Revision [603]

This is an old revision of dffXMLJSONPaging made by admin on 2009-03-11 10:17:39.
 

How to do Paging / Pagination using XML or JSON web services


Since XML web services are meant for short / brief data deliveries with limitation on number of records, you have to use paging/pagination to request more information for paging and multiple web pages on your site.

The need for paging for XML / JSON is only for DFF's Price Search Engine web services since the amount of data returned for each search is more than the default limit of returnable rows.

There are two input parameters available for both XML and JSON web services:



How to use offset

The offset variable controls which row# result should start.
The offset is always starts from and defaults to 1 when not specified.
If your web page displays 20 products per page, when displaying page 2 you should set offset to 21.

How to use limit

The limit variable controls which rows to return as results for each query.
The limit is always defaults to 12 when not specified.
The limit has a maximum value of 20.
If your web page displays 20 products per page, you should set limit to 20.

See All PSE Parameters
See JSON PSE Example page
See XML PSE Example page

There are no comments on this page. [Add comment]

Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.1025 seconds