We made a url shortener - kwn.me

Discussion in 'Web Development and Programming' started by MadMikeyB, May 31, 2010.

  1. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Check it out :)

    http://kwn.me/

    It's like, two PHP files and a MySQL database which make it work, the rest is image files and prettification, my friend Christopher helped out with the PHP and I did the pretty touches (totally a joint effort :p) I'm gonna be cleaning the HTML up at one point, as well as maybe adding some ajax stuff, who knows. I'm not gonna put a logo there right now as it's not really worth it, the whole point of a url shortener is that it's clean and simple.

    We may post up a HowTo of how we did it on The Geek District, if we get a chance, dont expect the exact code in use to turn up though :p

    I'm aware there are bugs, you can see the current todo list here; http://kwn.me/todo?list=sitestuff

    Feel free to use it and if you guys have any feature suggestions feel free to suggest em here! ;)
     
  2. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Cool, I'll check it out when I get on the pc
     
  3. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    since posting I added a bookmarklet, easy to use now :)
     
  4. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    Does it have stats like bit.ly?
     
  5. ChopSuey

    ChopSuey Regular Member

    Joined:
    Feb 2, 2010
    Messages:
    56
    Likes Received:
    0
    Location:
    Alaska
  6. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    No,we were focussing on the basics, I may attempt to add some form of stats in future :giggle:
     
  7. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    stats and custom URL's are very handy for me ;)
     
  8. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Custom URL's are easier to implement than stats, and they're in the pipeline, for a stats page I'm thinking of again, being basic; how many urls have been added, where they lead, how many clicks, and that would be it really.
     
  9. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    This is what I'm talking about for stats
    http://bit.ly/1ZqXYW+
    stats for the user that made the short URL
    I don't really care about how many URL's have been added, all I would want is info on each short URL I made.
     
  10. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Yeah just the total clicks, right?
     
  11. Guest

    Guest Guest

    Just a hit counter is usually fine, however I know some other sites (like bit.ly) go into timing etc.

    With my Shortener i just have traffic stats.
     
  12. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    yup total clicks, when the clicks happen and list of any retweets :)
     
  13. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Yes, but yours is from a script you downloaded, we wrote this one from scratch, it's hardly the same. :sidefrown:

    Working on it ;)
     
  14. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    ps. you have a great domain if branded ;)

    put a box around the ending url, or a "click to copy" option
     
  15. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    The 404 page needs improving, as does the page which gives you the URL. A click to copy button is a GREAT idea. Thanks! :)
     
  16. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Added Custom link functionality (demo; http://kwn.me/google) , it's there, but I ran into a last minute flaw (it broke the normal shortener) so I'm just beta'ing that right now making sure it doesn't do that again..
     
  17. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    Check it out now, we've added some stats (thanks to Floris) at http://stats.kwn.me/107 (for this thread, as an example) - there's also a favourite URL system getting developed. The site is taking shape, becoming what we visualised it.
     
  18. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    cool stats
    you might want to remove the "top referral" link on the home page

    did you look at this one?

    Most popular short is: kwn.me/fory (clicks: 644).
     
  19. MadMikeyB

    MadMikeyB Regular Member

    Joined:
    Aug 16, 2009
    Messages:
    158
    Likes Received:
    0
    I looked at it and I seriously considered removing it as it is "spam" however, I'm of the opinion that links should not be censored.

    I shall maybe deal with it by resetting the click count to 0. It has 600 clicks from somewhere so if it reaches that milestone again I will deal with it further there.
     
  20. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    I would delete asap, but that's just me.
    I can make our link have 1,000 clicks in no time as well ;)
     
Similar Threads
Loading...

Share This Page