Provides the ability to count tags and other fields (useful amongst other things for the construction of tag clouds)
Project description
Adds the url /count/<<fieldname>>/<<bagname>> which allows you to list the different values of a field or tag alongside the number of times they occur.
Results are returned as a new line separated list with the tag on the left and the number of occurances on the right of the last trailing whitespace. tag1 42 tag2 12 tag3 4 You can limit the number of results returned by the use of a max querystring eg. /count/tag/bag?max=2 in the above example would return tag1 42 tag2 12
Based on work by Jonathan Lister to count tags See the tests for further enlightenment
This package is licensed under the same terms as TiddlyWeb itself.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for tiddlywebplugins.count-0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d4a42a1271138d931363870f6b2c2d91dd9f0858b5f230dd2423921150cd47 |
|
MD5 | 6e4a5e7819fe55e9a95bdbf96bf0cc61 |
|
BLAKE2b-256 | 82edcf84e99bd1de8fcb9f3c8995a63562e7fdbc83902f0e6217dac5876eae14 |