Re: Django tag cloud

2009-12-02 Thread Alessandro Ronchi
On Thu, Nov 26, 2009 at 10:22 PM, Nick Arnett wrote: > What you need is called data normalization - fitting data to a desired scale > - in statistics and analysis. > > Here's a general page about normalization: > > http://www.qsarworld.com/qsar-statistics-normalization.php > > I'd imagine that th

Re: Django tag cloud

2009-11-26 Thread Nick Arnett
On Sat, Nov 21, 2009 at 7:09 AM, Carlos Ricardo Santos < carlosricardosan...@gmail.com> wrote: > > >> >> Obviously I can't use that number in font-size (150pt is too big) and >> I have to make a proportion (150 -> 20pt, 1 -> 5pt, 50 ~>10pt and so >> on). >> >> How can I accomplish that? >> >> What

Re: Django tag cloud

2009-11-26 Thread Alessandro Ronchi
On Sat, Nov 21, 2009 at 4:09 PM, Carlos Ricardo Santos < carlosricardosan...@gmail.com> wrote: > I used this approach, was explained on "Learning website development with > Django book", give a look there: > * > * > * > * > *style.css *file: > * > * > .tag-cloud-0 { font-size: 100%; } > .tag-cloud

Re: Django tag cloud

2009-11-21 Thread Carlos Ricardo Santos
I used this approach, was explained on "Learning website development with Django book", give a look there: * * * * *style.css *file: * * .tag-cloud-0 { font-size: 100%; } .tag-cloud-1 { font-size: 120%; } .tag-cloud-2 { font-size: 140%; } .tag-cloud-3 { font-size: 160%; } .tag-cloud-4 { font-size:

Django tag cloud

2009-11-21 Thread Alessandro Ronchi
I have a model with with a variable number of objects. I want to make a tag cloud with font-size to be a proportion of objects.count() (wich goes from 1 to 150 ). Obviously I can't use that number in font-size (150pt is too big) and I have to make a proportion (150 -> 20pt, 1 -> 5pt, 50 ~>10pt an

Re: Django Tag Cloud

2008-01-11 Thread David Grant
I think django-tagging can produce a cloud (google it) Dave On Jan 11, 2008 6:37 PM, goober <[EMAIL PROTECTED]> wrote: > > I would like to implement and include a Django Tag cloud in my current > blog. I would like to find out if there are any good/excellent > example

Django Tag Cloud

2008-01-11 Thread goober
I would like to implement and include a Django Tag cloud in my current blog. I would like to find out if there are any good/excellent examples that you all can recommend? Cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the