Apparently I gave the wrong advice about my own code <sigh>.

You need to drag over everything tagged with "CalCarbs". My question is 
whether it still works under v23 or if security provisions will block the 
aggregator.

On Saturday, March 6, 2021 at 12:18:09 PM UTC-8 Mark S. wrote:

> Wow. It's been almost 3 years without any interest. 2021 must be the year 
> of Salt and Rice.
>  
>
>> In terms that a 3-year-old might understand, how do I download, assemble 
>> and use the Carbo Commander and its accompanying data, in a local file on 
>> my computer?
>
>
> Wah! Wha! Goo-goo bah wah!
>
>
> I can't figure out what to drag/drop to an empty TW to recreate what you 
>> have at TiddlySpot.
>>
>>
> Be sure to have a backup of your TW file. You need to drag over Evan 
> Balster's spreadsheet plugin from the plugins. And you need to drag over:
>
> DayLog ViewTemplate 
> <http://carbocommander.tiddlyspot.com/#DayLog%20ViewTemplate>
> FoodItem ViewTemplate 
> <http://carbocommander.tiddlyspot.com/#FoodItem%20ViewTemplate>
> CarboConfig
>
> If you want my pre-configured set of foods, you need to find something 
> tagged with "FoodItem" and drag the tag to your file.
>
> Also, while I have your ear, Mark, would I be correct in assuming that 
>> this 'application' would afford me the opportunity to add in my own items 
>> (thinking brand-name foods that I purchase), and enter in the nutritional 
>> information for each, and be able to sort, track, etc. on that data?
>>
>>
> You can certainly set up your own foods. Whether you can do the things you 
> want depends exactly on what you're thinking of. At the moment it just does 
> what is presented -- allows you to keep a log of (theoretically) 20 
> nutrients. It tallies up the totals for your chosen nutrients on any given 
> day. It presents the first nutrient in detail. You can copy an existing 
> item, modify it (especially the "field" value). Then add that field name to 
> your daily log fields at the bottom of your daily log tiddler. Inside the 
> CarboConfig tiddler you can set how many nutrients to calculate, and which 
> ones.
>
> To facilitate the process of adding new foods, there is an existing 
> database of 8000 items modified for CarboCommander over at:
>
> https://nutrition-database.tiddlyhost.com//
>
> It will take several seconds to load. Type into the search box some key 
> term (e.g. "kellog", "banana", ) and you'll find dozens (hundreds?) of 
> hits. Navigate to one that's close to what you want. Then drag and drop 
> into your working TW file. Edit to suit your needs.
>  
>
>> Really I'm most interested in 1) Carbohydrates, 2) Sodium, 3) Fat and 4) 
>> Protein in each item.
>>
>
> Carbs, Sodium, and Protein are fields that are already represented in the 
> food database. For Fat, you'll either have to create your own field,  or 
> use the more specific  FA Mono, FA Saturated, FA Poly which was how the 
> USDA database represented the nutrients.
>
> This was all built using Evan Balster's math formulae. Now there are 
> enough math tools inside TW to do it without them. I guess if I was doing 
> it now I'd use those instead, because I recall having to do a lot of tricky 
> wikifying to get Evan's tools to work with this data.
>
> Don't get old, folks...
>>
>
> Too late.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/daf5dfe2-7bdc-452f-b503-6853fbf2dda3n%40googlegroups.com.

Reply via email to