Code Type:
Code Scope of Action:
Code First Added:
Code Altered:
^documentCloud( [count] )^
This provides an HTML interface to the information displayed in the Common Words view. Here the scope is the whole TBX document. It displays the 100 most common words in the note, omitting stop words (there may be fewer words if there are fewer valid words in scope). The words are wrapped in tags to permit the most common words to be displayed in a larger font; the tags used may be customized through the new attributes HTMLCloud1Start/End, HTMLCloud2Start/End, etc.
^documentCloud^ takes one optional arguments:
- count. This specifies the maximum number of common words to be displayed.
Examples:
^documentCloud^
^documentCloud(50)^
See also ^cloud^, ^sectionCloud^
Below is the output from ^documentCloud(25)^. Note that ideally it should be placed in some form of HTML container rather than be allowed to spread across the page otherwise the visual impact is lost. Here anyway is the ^documentCloud(25)^ 'raw' output:
attribute attributes baseline code current data default item list map may name note notes number set string text tinderbox type used using value view weekly