Comments: Backstage: Get with the Program

Hi Paul - I didn't open source the code for the tag cloud because there is no code :-)

Here's what I did:

Went to http://www.tagcrowd.com, copied/pasted the text from the mailing list archive page (http://www.mail-archive.com/backstage@lists.bbc.co.uk), added the words "re, mr, hi, hello" to a blacklist so they're excluded, and pressed "Visualise!". Copied/pasted the resulting snippet into a blog post, and hey presto. Not a single line of code (not mine anyway...).

Posted by Mario at November 1, 2006 13:21

At present the code is case-sensitive; to fix this, change "$word_count{$_}++ for @words;" to "$word_count{lc($_)}++ for @words;".

Posted by Earle Martin at November 1, 2006 14:15

Thanks Earle.

Mario: Code is steps in a process as much for humans as computers, so thank you for open sourcing your steps in the process for the rest of us!

It just occurred to me that the MighTyV project was the catalyst for the development of HTML::TagCloud. Funny ol' small world, eh?

Posted by Paul Makepeace at November 1, 2006 14:37
Post a comment









Remember personal info?