Search This Blog

Thursday, September 6, 2007

limiting blogger labels (tags)

Using the blog clound from phydeaux3 and limit labels by post count is a handy way to control the size of your blog cloud. The code and instructions for the label cloud are here:

Tweaking the var cloudMin= 1 to var cloudMin= 2
in the script will suppress any label from display in the cloud with less than 2 posts (i.e., an unused label will display an erroneous 1 post count, but possibly more, so this may not be an option); you can change some other things here, too. A very nifty tool. ;-) The only disadvantage to this approach is that it will knock out any legitimate labels with only 1 post, too.. However, if your tag cloud is huge, you may even want to just limit to an even higher number.

from phydeaux3:
The settings in the Variables section will be where you make most of your adjustments. Here I'll
explain what each setting does.

var cloudMin= 1;

This setting you can use to limit the number of labels shown (for example if you have a lot of labels). Leave the setting at 1 to show ALL labels. If you enter in a higher number, then only labels that have at least that number of entries will appear in the cloud.

var maxFontSize = 20;
var maxColor = [0,0,255];
var minFontSize = 10;
var minColor = [0,0,0];
var lcShowCount = false;

Check the blogger group @ google groups for more help.

If you are looking for a way to show selected blogger labels, check out this post.
Looking for a way to delete unused labels? Click here for help.

No comments: