Login   Register  
PHP Classes
elePHPant
Icontem

CafePress Random Product: Display a random product from your CafePress store

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-11-22 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 456 All time: 5,522 This week: 1,412Up
Version License Categories  
cafepressbox 1.0Free for non-commercial...Web services
Description Author  

This class will display a random product from your CafePress store

You can supply a simple template to control style, and have the output link directly to the shown product or simply to your main account.

You can cache the results so you don't have to connect to the CafePress website all the time.

Images can also be cached locally, and can be resized before caching.

Picture of Andrew Collington
Name: Andrew Collington <contact>
Classes: 13 packages by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 514 in United Kingdom United Kingdom
Week rank: 443 Down16 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Plain text file class.cafepressbox.php Class The main class file. The regular expression pattern used to parse the output from CafePress will need to be changed any time CP update their output.
Accessible without login Plain text file test.cafepressbox.php Example A simple example file.

 Version Control Unique User Downloads Download Rankings  
 0%Total:456All time:5,522
 This week:0This week:1,412Up