1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Having tags and 'tag clouds'

Discussion in 'PHP & Perl' started by Saulyx, May 10, 2011.

  1. Saulyx

    Saulyx Junior Member

    Joined:
    Jan 10, 2010
    Messages:
    107
    Likes Received:
    5
    Hey everyone, I was wondering if anyone could explain to me how I would go about having 'tags' for lets say blog posts(for a custom system) and then display a tag cloud? with the most common ones and so on? cant serialize them, so how should I do that?


    Thanks a lot,
    S
     
  2. thesmiths

    thesmiths Newbie

    Joined:
    Apr 24, 2010
    Messages:
    16
    Likes Received:
    2
    you code a way to tie keyword tags to a blog post. Then you write code that counts these keywords and echo out the most popular ones.
     
  3. andey

    andey Newbie

    Joined:
    Jul 1, 2011
    Messages:
    8
    Likes Received:
    2
    Occupation:
    Rails Developer
    Location:
    Miami | Toronto
    i would create a column keeping a live count record. Every time a tag is entered it increases the count in the column. I would do this because querying and counting every time would increase your server load significantly