Click here to download movies online.

tagcloud for the data added

It is still quite ugly, but it works. And the fact that something works is at this stage the only thing that I care off. I am speaking about the Data page. A page for each of the data, which also holds a tagcloud of all the tags in a particular xml file.

As a base I used Sujit’s code (which I wish to thank in this occasion). Which was ok, although I suspect that a real python programmer would have rewrote everything in half the lines, double the speed. But what really bothered me was how Sujit divided the tagcloud into different sizes. Because he does it in a linear way on the tag popularity. But following the tag a power law the result is quite steep. So I rewrote that part making every set aboout the same size. I am still not satisfied. I know the solution has some logs inside. But not for today. For now it is ok. See the result.

Leave a Reply