Tag cloud updated
Posted by Chris @ 9:16 am
The eagle eyed amongst you (Tony) will have noticed my tags and tag cloud have altered slightly. Why, I hear you cry? Let me explain.
Good as my automated tagging system is, Yahoo's Content Analysis returned a lot of keywords per post, and meant each post had a lot of tags. Not good, especially when some of the tags like "hopefully" and "nice" were more prominent than they should be. So I've tweaked the code to try and make the tags more meaningful, and less of them.
The first problem to solve was to remove tags like hopefully and nice. They really are useless, and also handily classed as adjectives and adverbs. So via the power of http://en.wiktionary.org/wiki/ and some screen scraping to discover if a suggested tag is an adjective or adverb, off they went! Secondly I discovered rather handily that the Yahoo service returns keywords in relevance order, so by limiting the number of tags per post to a maximum of 5 also means the rubbish is removed from the list of tags, and only the most relevant retained.
I think you'll find the resulting tag cloud has fewer, more relevant tags (Dawn doesn't like it for obvious reasons) and posts themselves have less tags cluttering up their footer area. I've also removed the expanding feature of the tag cloud, it is no longer cool and was getting on my nerves. If you have any further feedback let me know via a comment.
5 Comments
Tuesday, December 13, 2005 5:27:00 pm
Why are you "new" tags getting concatenated ?!? Quite a few are being returned together rather than with a seperating spaceThis comment posted by Anthony Main
Wednesday, December 14, 2005 9:52:00 am
The old tags got concatenated too. Why? Because it seems to be a tag standard to do that, well, at least where I robbed the idea from in the first place (flickr) it seems to be the thing to do. It means linking to a tag is also easier as you don't need to worry about url encoding, and you know there are never any spaces.This comment posted by Chris
Wednesday, December 14, 2005 8:43:00 pm
This comment has been removed by a blog administrator.This comment posted by Anthony Main
Wednesday, December 14, 2005 8:49:00 pm
Right, well its stupid !!!I mean you aint gonna get search listings that way who types taggingsystem rather than tagging system, probably about 1% of us who don't have spacebars!!
This comment posted by Anthony Main
Wednesday, December 14, 2005 9:52:00 pm
Looking at my site stats you'd be surprised....This comment posted by Chris
Post a comment