Foodizu.com has been a work in progress of mine for the past 6 months or so, and I’ve seen it grow from a small cooking site to a site with nearly 200 members and over 4,000 recipes. So to build on this work in progress, I am pleased to talk about some new changes in the works. First of all, foodizu is getting a major facelift, and you will see that coming shortly. It’s a design that I’ve been working on for several months and happy with the result. Second, some new features include the ability to add blog posts so you can write about your cooking experiences as well as adding your recipes. The next new feature is that all users will receive a profile page that will list their recipes they have added, and blog posts they have made. I am also almost finished the mobile version of foodizu, where you can find recipes from anywhere. There are some other features in the works as well, but this seems like enough news for today.
Over the weekend, I updated proASM to include support for Amazon’s new signed authentication request protocol that they are bringing online August 15th, 2009. Amazon already enforces this protocol with their other AWS services so it was a matter of time til they enforced it with product feeds as well. Basically, every request we send to Amazon, now includes an encrypted version of the URL request encoded with the user’s secret access key. On the Amazon side of things, it compares the certificate you sent with their encoded version and checks for a match. No match means no valid request.
Read more about proASM here.
I use one of my scripts to display a mobile version of my sites using the RSS feeds, but sometimes I have to redirect people automatically, so I usually use this piece of code somewhere:
$useragents = array ("iPhone","iPod","blackberry","palm","smartphone","iemobile");
$oniphone = false;
foreach ( $useragents as $useragent ) { if (eregi($useragent,$container)){ $oniphone = true; } }
if($oniphone){header("Location:/m/");exit;}
If I’m on a wordpress site, then the code is placed in my functions.php file for my theme. If I’m on another site, then I usually place it on a file I know will get called. Generally, you can change it to look for a cookie if you choose to let people opt for the full version of your site, but otherwise, this code comes in handy.