If you do go the food route, be careful about how much you put out. In my experience, cats don't eat too much in one sitting, and leaving extra food out will, as others have mentioned, attract other strays.
In theory, if you only give him/her a little at a time, s/he'll stay around for the...