PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (14 years ago) RSS 2.0 feedStarStar 37%Total: 463 All time: 5,904 This week: 794Up
Version License Categories
cafepressbox 1.0Free for non-comm...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.

  Performance   Level  
Name: Andrew Collington <contact>
Classes: 15 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 2x

  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:463
This week:0
All time:5,904
This week:794Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:3069