preVU - daily deal aggregator for the smaller markets

I launched a new project this week that acts as an aggregator for the plethora of daily deal sites on the Internet. If you were one of the 111 million viewers of the Super Bowl last Sunday you were exposed to two of the major players in the arena: Groupon & LivingSocial.

Visit the new site here: preVU

Part of the idea for the site is to make it easier for people to get this information without having to subscribe to a dozen different emails. But making them visit another website not normally in their daily routine (ie. email, facebook, twitter, news, rss reader, etc…) is not exactly conscious as well. So I’ve developed a widget that will allow sites such as local ISP’s/newspapers/tv stations and the like to drop on their sites and give their readership an added bonus they’re likely interested in - everything likes 50% off, right? If you find the widget useful, please request your local news site to get in touch with me and I can custom-make one to fit their requirements.



Steal this widget for your own site (change attributes as desired):

<iframe src=”http://w.pre.vu/denver” frameborder=”0” width=”300” height=”300” style=”border:2px solid #222;”></iframe>

Some of the important pieces of preVU came from the following sites:

  • PHP Geo-Targeting Script: this makes it so when you simply visit http://pre.vu it will auto-direct you to the nearest city you live by. I put a little added touch to the script that Eric describes as I have an array with the latitude & longitude of each city that has it’s own preVU page; it then grabs the lat/long of the city you live in and does a distance calculation between the preVU cities & your city to determine which one to send you on to.

  • Quick & Dirty PHP Caching: preVU’s code is designed to go out to each of these sites, grab the content and bring it back to you. The bottleneck in this process is the connections between my server & the daily deal servers. It’s only slightly faster than if you were to go out and load a dozen websites. It’s roughly only about 30 seconds to do this, but in today’s environment would you really stick around if it took a website 30 seconds to load? Heck no! That’s where caching comes in handy…I’ve setup a cron job to do this ‘capture process’ every 3 hours and basically save a copy of what it found in a static file. So rather than you having to take the 30 seconds to load the site every time and pull fresh content yourself, what you see is a copy of the data that’s at most 3 hours old. Because the majority of these sites don’t change content for the entire day (hence the name, *daily* deals) this process works wonders for site speed.

  • I spent quite a bit of time deciding how I wanted the hovers to look when you moused-over a link. I eventually settled on qTip2 - a jquery plugin that is extremely customizable.

  • Mobile Browser Detector: if you visit http://pre.vu on a mobile phone, you’ll be presented with a much more simplified version of the site. This two-line script made it a breeze for me to determine a mobile-user and give them the mobile-friendly version of the site.
While I’m on the subject, if you’re a Topeka reader you should really jump on board the deal called “$12 for $25 worth of Topeka’s Best Local Pizza at Via’s Pizzeria!” - it’s an amazing pie.
blog comments powered by Disqus
Close
subscribe to latest projects
my company