Remember the Milk: Tag Cloud Restructurer

By emalminator Last update Sep 11, 2009 — Installed 235 times. Daily Installs: 0, 1, 3, 1, 3, 0, 0, 1, 0, 0, 1, 4, 3, 1, 2, 1, 2, 0, 1, 5, 3, 3, 0, 0, 0, 5, 2, 0, 3, 1, 3, 0
Script Summary:
A script to restructure the tag cloud in Remember the Milk. Based off of masnare's Tag Cloud Colorizer script, jgallen23's RememberTheMilkEnhanced script, and ideas in the Tag Cloud post in the RTM forums.
Recently Updated TopicsPosts
More explanation, please1

this script has 1 topic, 1 post

This script has no reviews.

Based on masnare's Tag Cloud Colorizer script (http://userscripts.org/scripts/show/25046) and jgallen23's RememberTheMilkEnhanced (http://userscripts.org/scripts/show/26057), as well as ideas from the Tag Cloud post in the Remember the Milk forums (http://www.rememberthemilk.com/forums/tips/2943/).

This script provides a fairly general framework for restructuring the tag cloud in Remember the Milk. Specifically, one can:

  • Group related lists, locations, and tags by prefix
  • Rename individual tags
  • Generate a hierarchy of tags dynamically, to arbitrary depth
  • Rename individual tags in the hierarchy (ex: P to Personal)
  • Recolor tag sections
  • Reorder sections after processing
  • Hide ordinary list tabs

The script also includes some stylistic tweaks, such as removing the cow graphic from the RTM page and fixing the sidebar at the top of the page (which becomes crucial if the tag cloud is long). These can easily be commented out if they are not desired.

The hierarchy-style section in particular makes it fairly easy to have projects with subprojects, as these can be stored in their own individual lists. This also reduces the tagging and list redundancy, as long as the user is willing to partition their tasks between project lists.

The default configuration is based on one for my personal use, and it is likely that other users will need to adjust the configuration for their own needs. Greasemonkey in Firefox Changes should be made to the Configuration section in the script, at the top of the Tag Cloud Restructurer section.

If users are familiar with masnare's script, this script differs from it in several ways:

  • masnare's sections are now the sectionFlat objects.
  • No additional "system" tags (such as @__context) are needed, as the header tags are created by the script itself.
  • There is now a dictionary-based system for global and per-section preferences.

Please note I have tested this script only under Firefox 3.5.* + Greasemonkey, and I would appreciate feedback and testing under Opera and other versions of Firefox. Also, any feature requests or suggestions more generally are appreciated, although I am not by any means an experienced JavaScript programmer.

As an extended example, here is my tag cloud, circa Sep 2009:

Image and video hosting by TinyPic

And here are the active lists, locations, and tags that generate it:

Ordinary Lists:

  • Inbox
  • -A [[Academic]]
  • -A/CS
  • -A/CS/CS106B
  • -A/CS/CS107
  • -A/Math
  • -A/Math/Alg Top
  • -A/Math/NW-TFT
  • -A/Math/Old
  • -A/Math/Seminars
  • -A/Math/SRC
  • -A/Research
  • -A/Research/Editing
  • -A/Research/Reading
  • -A/Research/Talks
  • -A/Research/Writing
  • -A/Teaching
  • -A/Teaching/[redacted]
  • -P [[Personal]]
  • -P/Apartment
  • -P/Apartment/Cleaning
  • -P/Computer
  • -P/Computer/[redacted]
  • -P/Computer/OSX
  • -P/Computer/RTM Tag Cloud
  • -P/Computer/TeX
  • -P/Cooking
  • -P/Cooking/Meals
  • -P/Gardening
  • -P/Gardening/Worm Bin
  • -P/Maintenance
  • -P/Maintenance/Health
  • -P/Maintenance/Vehicles
  • -P/Recreation
  • -P/Recreation/[redacted]
  • -P/Recreation/Music
  • -P/Recreation/Reading
  • -P/Recreation/Wii
  • -PR [[Professional]]
  • -PR/[redacted]
  • -PR/Tutoring
  • Lent/Borrowed
  • Sent

Tags (each of which is associated to at least one active task, so that it is displayed in the cloud):

  • @email
  • @errand
  • @garden
  • @online
  • @phone
  • @reading
  • @weekend
  • @work
  • _admin
  • _brainstorm
  • _chores
  • _eco
  • _website
  • design
  • financial
  • gifts
  • goal
  • maybe
  • next
  • purchases
  • software
  • wait

Locations (as with tags, associated to at least one active task):

  • @apt
  • @cal-ave
  • @dept

The section configuration in the script is the same as that used to generate the tag cloud above.