Posts Tagged ‘map’

FamousFood.us: Find the restaurants featured on your favourite TV shows

Tuesday, October 26th, 2010

As some of you may already know, I have recently launched a new website named FamousFood.us that allows you to quickly find restaurants featured on TV shows such as Best Thing I Ever Ate, Diners Drive-Ins and Dives, Throwdown with Bobby Flay, etc.. as well as Michellin guide rated restaurants. I figure it finally time for me to write a blog post explaining the site and what I hope to do with it.

The idea for the site came from my summer road trip to Seattle. Since Nithya and I were driving up there with no specific plans we decided that we wanted to try out as many of the Best Thing I Ever Ate restaurants as we could using my existing map as a guide. Right off the bat the first problem I found was that 3 of the restaurants were literally on the same street corner which meant that you didn’t actually see them on a map until you zoomed in all the way. Secondly when you are a stranger in city you don’t really know where you are which makes it quite difficult to look up a map. And last and perhaps most importantly, the map based method was really difficult to use on a mobile phone. Web based mobile maps just are not pleasant to use on the phone.

All these issues led me to think about my requirements for a site to find TV featured restaurants
1) Must work on both PC and mobile. Should play nicely with a variety of different screen sizes.
2) Must autodetect location though users should also be able to set a different location
3) While maps are nice, lists are more important especially in mobile
4) Must be able to pick and choose from different shows
5) Show as much information about the restaurant, show and episode as possible without requiring another page load
6) Get Yelp ratings if possible

On the technical side, I had recently made some simple Nokia WRT widgets (HTML/CSS/Javascript) and I decided to use a similar setup to create a single page javascript web app rather than a complex multipage site. While this would increase the initial load time, I felt that the responsiveness of the app when loaded would be a definite plus especially on the mobile. As an added plus I had always wanted to build an end-to-end web app and this was the perfect opportunity. I would be building everything from the database and API to complete front end including all the (admittedly ugly :-) ) graphics. I also got to play with some HTML5 geolocation, CSS and Javascript which was quite an instructive experience.

The first thing I did was to create a single database that included all the restaurant information that I had collected for my existing mashups of DDD, Best Thing and Throwdown. In addition I decided to add restaurants from the 2009 and 2010 US Michelin Guide. Now the Michelin guide may seem out of place in a list of TV restaurants but as the designer it was my perogative to add the things that I wanted to see ;-) . The next step was to create a simple JSON API that would allow me access a distance sorted list of restaurants as well as the ability to filter based on specific shows.

FamousFood.us
Once the API was done, I moved on to creating the front end. It begins with a splash screen above that displays a spinner while it attempts to get the users location. Once the coordinates are obtained they are passed through the Google Maps geocoder to get a human readable location name. In the meantime the front end displays a list based UI which allows the user to select either “All shows” or specific show. This UI is not the most elegant on the PC but it works well on the mobile and allows me to provide reasonable functionality for both with a single design.

FamousFood.us

Once a show has been selected the web app fires off a request to the JSON api to get the nearest restaurants that fit the required criteria. The returned data is displayed as lost with the name of the restaurant, name of the episode, distance from the user and a colour coded Icon for the TV show. The users also have the option to click the “Map” button the top of the page to see the same information on a map with colour coded pins.

FamousFood.us FamousFood.us

Once the user selects the restaurant they are shown all the info about the restaurant such as address, phone number, website, etc… as well as show and episode information. All the information is hotlinked so that the user can directly call the restaurant, get driving directions, visit the episode home page etc… with just a click. The page also fires off a request via the Yelp API and displays the current ratings and reviews for that restaurant.

FamousFood.us

And as a final mobile tweak I have setup the site such that iPhone user can directly add it as a web application to their home screen. Just tap the “+” icon in browser and select “Add to Home Screen” in the next menu. This will add a FamousFood icon to your homescreen and allow you to launch the app without having to explicitly open a web browser or select a bookmark.

And that is basically how I built FamousFood.us over a roughly 2 week period. Nithya and I used it extensively during our trip to New York earlier this month and ate at some fantastic restaurants (more in another post). Since the trip I have been adding more shows to the database and the current lineup includes Best Thing I Ever Ate, Diners Drive-Ins & Dives, Food Wars, Man V Food, Throwdown with Bobby Flay and the Michelin Guide. I have linked to site from my 3 existing mashups and am currently getting averaging about 85 hits per day. Head on over to FamousFood.us and try it out for yourself. If you like the site please spread the word (and the link love ;-) )

GGLC Membership Map

Sunday, March 28th, 2010

I originally posted this on the Golden Gate Lotus Club blog but figured I should cross post it here as well.

A few days ago I received the latest GGLC Memberhip roster in the mail (if you have not gotten one please contact David Anderson (ggmail AT gglotus DOT org) to update your postal address) and was fascinated to see the large number of cities that our members are spread over. After talking it over with a few folks at our last monthly meeting I hacked together the following map of club members:


View Larger Map

Each marker on the map represents a zipcode that has at least one GGLC member. The size and colour of the markers varies based on the number of members in each location (darker and larger = more members). You can also get the information about the marker by clicking on it to get the name of the location as well as the number of members. You can also click here to see a larger version of the map or click here to see a zoomed in map showing the Bay Area.

Map of The Best Thing I Ever Ate locations

Sunday, July 19th, 2009

Sticking with the map mashup theme of the last month, I’d like to unveil a new mashup map of all the restaurants featured in Food Networks new show “The Best Thing I Ever Ate“. The official blurb is as follows:

Ever wonder what the biggest food stars and chefs eat in their free time – when they’re paying? Find out on The Best Thing I Ever Ate! It’s the ultimate guide to the country’s most amazing meals, eats, and treats as told by the pros who spend their lives obsessing over food.

Update: Check out my new site FamousFood.us to easily find restaurants from the Best Thing I Ever Ate and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

Since a good number of these restaurants are in the Bay Area I decided to make the following map of all their restaurants that will keep updating it as the show progresses. Click here to view the map in a full screen view along with a list of all the restaurants and their dishes. This should help all you foodies out there plan your trips accordingly – personally I think I’m going to start with the ones in the Bacon episode :-D


View Larger Map

You can also check out my maps of Diners, Drive-Ins and Dives and Throwdown with Bobby Flay

Update (21-July-2009): I got a call from David Hoffman who produces the show thanking me for making this mashup and they have now posted it on the official The Best Thing I Ever Ate blog. :D

Update: Check out my new site FamousFood.us to easily find restaurants from the Best Thing I Ever Ate and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

Map of Throwdown with Bobby Flay competitors

Wednesday, June 24th, 2009

One of my favourite food network shows is Throwdown with Bobby Flay where he goes around challenging various chefs to a cook-off with their signature dish. Seeing the show really makes me want to go and try out some of the dishes but unfortunately there is no single list of all the restaurants and their locations. Seeing that my last mashup map of the Dinners, Drive-Ins and Dives locations is the most popular page on my blog, I decided to put together a new mashup with the locations of all the Throwdown restaurants.

Update: Check out my new site FamousFood.us to easily find restaurants from Throwdown with Bobby Flay and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

The map includes the name, address, phone number and URL of each restaurant along with the name of the chef, dish, winner and a link to the episode page on food network (contains recipes, etc…). It only includes proper restaurants and/or home delivery services and does NOT include the one-off challenges with local residents. Restaurant that have multiple locations are only mapped once and their URL will point to a list of their locations. As always this is purely a mashup and has no guarantees – use at your own risk.


View Larger Map

You can also view a larger map (with list) or use this link for a Google Earth version. Also I spent a lot of time converting the data into machine readable CSV – if any other hackers out there would like to play with the data just leave a comment and I’ll be happy to send you the data.

Update: Check out my new site FamousFood.us to easily find restaurants from Throwdown with Bobby Flay and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

Google Earth map of Diners, Drive-ins and Dives

Wednesday, October 29th, 2008

Nithya and I have been big fans of the Diners, Drive-ins and Dives show hosted by Guy Fieri on the Food Network. We love the fact that it travels the country looking for the small anonymous restaurants that serve great food without emptying your wallet.

Update: Check out my new site FamousFood.us to easily find restaurants from Diners, Drive-Ind and Dives and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

One day we were wondering if any of the show restaurants were in the Bay Area when I stumbled on this page that lists all the eateries they have visited on the show. Now the list is a good thing to have but is not much use to see an address like “Baker, CA” since I have no idea where that is (near Death Valley). What you ideally want is a map that shows the locations of all the restaurants – that way you can look in your city and see if there are any local places. This is where my inner hacker got interested and I ended up writing this PHP script that downloads the list page and parses the HTML to build a list of the restaurants along with their addresses and any other available information. It then outputs a kml file which opens in Google Earth and shows you a map with each restaurant denoted by an individual pushpin (see screenshot below). Clicking on a pushpin or selecting a restaurant name from the left menu will give you more information such as the address, phone number and any available website.

Google Earth mashup of Diners, Drive-ins and Dives

Now that you have been warned, click here and have fun visiting Diners, drive-ins and dives. I personally plan on visiting as many of them as I can and started with dinner at the Falafels Drive-In in San Jose last week.

Update: Check out my new site FamousFood.us to easily find restaurants from Diners, Drive-Ind and Dives and other Food Network shows in a single place. Designed for both PC and mobile (iPhone, Android) use.

Update (24-June-09): Check out my map of Throwdown with Bobby Flay competitors at http://www.rahulnair.net/blog/2009/06/24/map-of-throwdown-with-bobby-flay-competitors/

Update (20-July-09): Yet another map mashup, this time of The Best Thing I Ever Ate