In a tag cloud those terms that occur more frequently are bolder than others.
That's not the case in
TagMePlugin. Try the following:
- start with a fresh install
- start creating a first tag and tag a topic
- create a second tag and tag a topic
- create more tags, tag the a topic, and watch the tag clouds at TagMeViewAllTags
So all tags are used only once and therefore the tagcloud should give all terms the same size... which it doesn't.
The reason for that is that all tags are put into an order sorted by frequency. Therefore tags of the
same
frequency are distinguished arbitrarily. They should be sorted into the same "bucket".
--
TWiki:Main/MichaelDaum
- 25 May 2007
With "fresh install", do you mean from svn? Because I made some changes to the count script lately.
--
TWiki:Main.ArthurClemens
- 25 May 2007
Fresh as fresh from SVN.
--
TWiki:Main.MichaelDaum
- 25 May 2007
any chance of breaking out your tag cloud code into a
TagCloudContrib and sharing it between the
TagMePlugin and
BlogPlugin?
--
WillNorris - 25 May 2007
The arithmetics of computing the tagcloud are completely different in tagme and tagcloud plugin. So porting the code will not be that easy. Frankly, there is no
reason to share the
perl code. Just use the
TagCloudPlugin to render the tags in the
TagMePlugin.
--
TWiki:Main.MichaelDaum
- 06 Jun 2007
Why is there a need to use bold on more frequently used tags in
TagMePlugin? The current implementation looks just right to me.
--
TWiki:Main.PeterThoeny
- 06 Jun 2007
Well, in tag clouds
more frequently used tags are depicted in a larger font
. That's the whole point. This also means that tags of the same frequency are of the same font size ... and that's not the case in
TagMePlugin. Try it.
--
TWiki:Main.MichaelDaum
- 07 Jun 2007
I see the problem now. Yes, technically same tag count tags should be shown in the same font size. Minor issue that only manifestates itself only in the very beginning of deployment.
I am inclined to set this to "no action required". For now set to "low priority".
--
TWiki:Main.PeterThoeny
- 08 Jun 2007
Right, it only manifests on tags of the same frequency...which not only appear with a few tags. That's only to demonstrate the problem.
Anytime a set of tags with the same frequency will be ranked as being not of the same frequency. To make it clear: the algorithm that computes the tag cloud is fundamentally flawed. If I was the author of this plugin I'd set this issue
to "urgent", but not "low priority" or even "no action required".
--
TWiki:Main.MichaelDaum
- 08 Jun 2007
I believe I have a better algorithm now. Re-open if more work is needed.
--
TWiki:Main.ArthurClemens
- 10 Jun 2007
Thanks Arthur for improving the algorithm!
--
TWiki:Main.PeterThoeny
- 11 Jun 2007
... introduced an
illega division by zero
--
TWiki:Main.MichaelDaum
- 11 Jun 2007