How to add latest search words at homepage?

Discussion in 'Programming' started by kojakfilth, Feb 5, 2008.

  1. #1
    Hi i wonder how to put Latest Search artist or songs at my www.bandstreaming.com as you can see at the homepage all the artist list there is manual. Can i make it auto updating list? Like a tag cloud or something different? Like when someone search for madonna then it will appear at the homepage?

    Please kindly help..

    KOjak
     
    kojakfilth, Feb 5, 2008 IP
  2. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Sure, this can be done rather easily with a database, if your interested I can code you the required scripts, send me a pm. Otherwise I think there might be some opensource alternatives if you search on google.
     
    ToddMicheau, Feb 5, 2008 IP
    kojakfilth likes this.
  3. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #3
    Thanks Todd for helping me out.. I have what i need to my site now.. :)
     
    kojakfilth, Feb 5, 2008 IP
  4. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Any time, happy to help =]
    Maybe we can tackle that ajax in a few days. . .
     
    ToddMicheau, Feb 5, 2008 IP
  5. adam.jn

    adam.jn Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    What is the script that is used for this purpose called?

    Thanks
     
    adam.jn, Feb 7, 2008 IP
  6. ToddMicheau

    ToddMicheau Active Member

    Messages:
    183
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #6
    I called it a tag cloud, though I'm not sure what the real name would be. Basically it is a script that checks the database for a word, if that word is found it adds to a value in the row, if not it's added into the database. It also keeps track of the last time that row was accessed. There are also functions to retrieve the data, in varying ways (Top count, Latest, etc). I can upload the scripts to my website if you want. Otherwise there are some others on the net, just google Tag Script.
     
    ToddMicheau, Feb 7, 2008 IP