Woot Tracker Snippet

As I started browsing my RSS feeds yesterday morning I was happy to see that Woot.com was holding one of their famous days known as a WootOff. So I kept their site open in Firefox and I would refresh it every few minutes to see if a new product was available yet. That quickly became tiring, so I decided to write a quick and dirty little ColdFusion page to notify me when a product changed. After five minutes or so I had it sending me email notifications of new product postings. I then just set up a scheduled task to run every 30 seconds and I was good to go. Below is the code, and do remember this was done in five minutes, so everything may not be 100% optimized.

<code lang="cfm[lines]"><cfparam default="" name="Application.WootTracker"></cfparam>


">


', '')>

">



', '')>

#variables.currentItem# - #variables.currentPrice#



Current item:
#variables.currentItem#
Price: #variables.currentPrice#

Comments

comments powered by Disqus