Cafe Press Xml Datafeed scripts

These scripts present the xml data from CafePress - you need to sign up as an affiliate with Cafe Press to earn commissions. Run through the steps and fill in all details and at the end a php script that displays the items will be provided for you to download and add to your site.

Start by providing me with the necessary items to search for in the xml datafeed

Your CP affiliate id (PID) - the number that's below your name - get this wrong and you won't get commissions!

Your xml key (log into your CP account, click on the link xml feed on your left nav and you'll see a jumble of letters and numbers on the top - copy and paste that here)

Maximum number of shops whose items you want to display per page (1-100)

Maximum number of products PER per shop you want displayed (0-INF)

How do you want it sorted (latest designs first, most popular designs first)