Bike 10 miles a day, and through the charts away! ;-)

At a minimum, this is a relational database model. I've discovered
recently that TW works pretty well this way, with a bit of scripting.
I have an example that I use for gardening on line, if you're
interested.

I could see having a set of tiddlers that contain basic information
about calories and food:

CaloriesPerApple
  food: Apple
  calories: 70
  (tagged as caloriechart)
CaloriesPerSBFrappucino
  food: Caffe Vanilla Frappucino
  calories: 430

You could make these entries quickly using a tiddler template, ready
in the right hand menu.

Then you could have a form that would collect your food entries. It
might have a drop down list to show calories, but you might have to
update that list by hand as new food types are added. It might be
possible to have it auto-update by transclusion. One way or the other
it shouldn't be too hard. So you would have something like:

  date: year-month-day <-- Do it this way for ease of sorting
  time:
  food: (selection list)
  food name (not onlist): ___________
  food calories (not on list)
  quantity: ___
  {Submit}

When you submit an entry, a new tiddler would be created:

  CalorieLog20090803-1118
  date: year-month-day
  food: Apple
  quantity: 3
  totalcalories: 210

Next you would have a tiddler or two for reporting. I'm not sure what
you would want in terms of history. A simple listing in table format
with the script plugin should be fairly easy. It might be possible to
generate charts using SVG, but I couldn't comment on that yet since
I've barely started using SVG in TW. It should be possible at least to
generate a CSV style output that could be copied into Excel or OO for
your charts.

Well, too much rambling
Mark



On Jul 31, 10:35 am, abro <[email protected]> wrote:
> Anyone know if there is a TiddlyWiki adaptation that
> would be well suited to logging calorie consumption?
>
> I currently use the MonkeyGTD adaptation for project
> / task tracking (which I love btw).  However, that is
> a very specialized adaptation.
>
> Ideally a calorie logging tiddlywiki would support:
>
> 1. Ease of data entry (e.g. select apple from a list
> and the calorie amount would be calculated for you)
> 2.  Historical graphs
>
> I'm sure there are commercial applications out there
> already, and I believe some free online ones exist as
> well, but I'm a tiddlywiki kind of guy.
>
> Anyone have any suggestions?
>
> -Abro


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to