I use calorieking.com to look up foods. It has every variation on every type of food, and you can choose what type of portion sizes to use. For example if you look up the calories in an apple you can get it by the ounce, or by size (e.g. medium or large, with/without skin), etc.
I'm pretty sure they have some sort of diary feature too, I don't use it though.