Help me design a simple nutrition calculator for a restaurant website.
September 10, 2009 3:59 AM
Subscribe
How do I create a simple nutrition calculator for a restaurant website?
I'm working on a website for a restaurant chain. What we would like to do is allow the customer to choose the ingredients he gets (it's a burrito place) and then he will get the nutritional value, preferably updated instantly as he picks new items.
Preferably it would work similar to the
calculator on this page (I tried to email them about asking if we could use it, but got no answer).
I imagine this could be done with simple JavaScript, but I don't have the knowledge to write it myself. Are there any standard scripts out there I could use?
posted by einarorn to computers & internet (6 comments total)
1 user marked this as a favorite
Here's a link to a very basic calorie calculator that could be very easily modified to do what you want.
Also, do you have all of your nutrition data? If not, here's the USDA's publicly accessible database.
posted by Cat Pie Hurts at 4:27 AM on September 10