If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
I have made some additions to the CafePost plug-in to do some basic error handling when invalid results are returned from CafePress.com. I am still waiting for error codes from CafePress so I can streamline the handling further. Currently when a product post is attempted to be displayed and there is an error, an error message is displayed in the post and an email sent to the WordPress site administrator with a link to the post and the error. This is the initial system and not necessarily the one that will be in the plug-in at release. I just wanted to get some kind of error handling built into the system now to eliminate the mass error messages I experienced a couple weeks back when a code push at CafePress had a negative effect on the API my plug-in uses.
In addition, I have the initial cache management system in which will automatically delete previous day’s file caches on a daily basis to keep the cache folder from eating up all the space on the host. Currently there is a daily scheduled cleanup which deletes files prior to the current date, creates/updates a log file, and sends an email to the site administration. Also we have created a link within the myNicheShop options framework to purge the cache. Like the error handling, this also is an initial system that has a lot more work planned.
The last thing I am hoping to finish this weekend is an XID option which will allow affiliates who are also CafePress shopkeepers to enter their CafePress Account Number into the options screen so CafePress may properly track their affiliate links. This is important because affiliate sales at CafePress do not qualify towards shopkeeper volume bonuses. With the use of the XID, the sales are counted as shopkeeper sales so volume bonuses are unaffected by your links from your external websites. I plan on having that finished tonight and plan to release the plug-in to beta testers next week.
admin on June 1st, 2007