March 13, 2005
MarkBernstein.org
 

Tinderbox 2.4 has New Analytical Tools

Tinderbox has a bunch of new analytical tools. For example, right now there are ^include(MAIN PAGE,-CalcCountPosts)::template not found, or template includes itself posts on the main page, with an average of ^include(MAIN PAGE,-CalcCountWords)::template not found, or template includes itself words per post. The longest post, right now, is ^include(MAIN PAGE,-CalcMaxWords)::template not found, or template includes itself words long. These statistics are calculated on the fly, so they'll change as the main page changes.

There's nothing special about word count; I could use any numerical attribute, whether built-in or user-defined. And there's nothing special about the main page; I can get this for any container. The syntax is easy enough -- ^mean(child,Wordcount) gives me the average word count for all the notes inside a container.