Code Scope of Action:
Code First Added:
^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 customised 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.
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:
agent attribute attributes children code current data default document link list map may note notes png set text tinderbox used using value via view weekly