Live data from Hacker News

Google URL shortener available to the public

goo.gl

101–110 of 126 posts

Re: Google URL shortener available to the public

#101
post #94

What hashing function they use?

Base62.

http://stackoverflow.com/questions/1119722/base-62-conversio...

A case-insensitive variant is Base36:

http://en.wikipedia.org/wiki/Base_36

I remember you being a Lisp programmer; it's built into CL's Format function:

  (format t "~36r" 9999) ==> 7PR

Re: Google URL shortener available to the public

#102
post #57
post #3

Nice simple public stats: http://goo.gl/info/Jvhu#two_hours Not a huge fan of the flash chart though. http://goo.gl/Jvhu http://goo.gl/Jvhu.qr EDIT: Better graph

Strange... : I clicked in the above url. Then I copied the resulting url ( http://www.magicbeef.com/ ) After pasting it in google service, it produced a different short url: http://goo.gl/YH1c I first assumed that every destination would render an unique short url, but thats not the case. This way google knows the full stats of http://www.magicbeef.com/ . But you can only know the real stats if you know ALL the short…

Probably because of the analytics -- if you create a short URL and post it somewhere, you want to know how many people (etc.) clicked your link, not how many people clicked any link that goes to the same place through the shortener.

Re: Google URL shortener available to the public

#104

Earlier quoted context omitted.

Earlier they did not offer custom URL shortening. goo.gl was used by Google services like Reader, YouTube but it was not open to public.

Hm but with that Chrome extension, it worked. So I guess there was an open API already.

The Chrome extension reverse-engineered the API from the Google toolbar, it wasn't officially released.

Re: Google URL shortener available to the public

#105

Earlier quoted context omitted.

We don't need them. Companies that create the shorteners need them to collect information about who clicks on your links. That, and there's a service out there that limits updates to 140 characters.

We do need them. While twitter pretty much spawned the whole ecosystem, there still is a very important and functional use for URL shorteners. The biggest, outside of twitter, has to be the method of emailing enormous html links to someone. With so many email clients out there, it is a crap shoot to send a link. Personally and professionally bit.ly has really helped out in those cases. With that in mind, I wonder wha…

Click on the link up top, and staring at you in the face we have this text:

All goo.gl URLs and click analytics are public and can be shared by anyone.

Re: Google URL shortener available to the public

#106
post #7

Ugh. Google entering this pretty much wipes out the space - companies like bit.ly are going to need to work on seriously differentiating themselves from the pack, and even then I don't think they're long for the world. I can honestly say I hope to never be in a market - or working on a product - where google suddenly decides to enter the game. Even if their offering sucks, or is broken, it sucks all the air out of th…

Private link analytics vs. public.

Re: Google URL shortener available to the public

#107
post #9

Why do we need url shorteners again ? When I see a shortened URL the probabilities of me clicking the link go down to almost zero.

We don't need them. Companies that create the shorteners need them to collect information about who clicks on your links. That, and there's a service out there that limits updates to 140 characters.

Even before twitter, url shorteners were useful in many places. For example, a Google Maps link would be a good candidate for url shortening. When used in emails/usenet/IM windows, long urls often get mangled.

Re: Google URL shortener available to the public

#109

[edit - Nevermind, solved below in the comments.] Does anyone know how these work long-term? This one shortens a URL to 4 characters, so for a potentially major URL shortener, there is a relatively low number of possible outputs. Once they hit their limit, do they start erasing the oldest ones? The most inactive ones? For shorteners that give consistent shortened URLs (i.e. everytime you shorten the same input URL, y…

> Once they hit their limit, do they start erasing the oldest ones? The most inactive ones? Let's do the math. If we assume that a service only uses a-z, A-Z and 0-9 as characters for the shortened URL, we have a set of 62 characters. /x -> 62 /xx -> 62^2 = 3,844 /xxx -> 62^3 = 238,328 /xxxx -> 62^4 = 14,776,336 /xxxxx -> 62^5 = 916,132,832 /xxxxxx -> 62^6 = 56,800,235,584 In the worst case scenario, the URL shortene…

I tired about 10 random ones and 3 were real links. So are they approx 30% full already of the 4 character urls? I guess you better not shorten a url to a page you don't want to be public, because then the address will be easy to guess.

Re: Google URL shortener available to the public

#110

Earlier quoted context omitted.

We don't need them. Companies that create the shorteners need them to collect information about who clicks on your links. That, and there's a service out there that limits updates to 140 characters.

We do need them. While twitter pretty much spawned the whole ecosystem, there still is a very important and functional use for URL shorteners. The biggest, outside of twitter, has to be the method of emailing enormous html links to someone. With so many email clients out there, it is a crap shoot to send a link. Personally and professionally bit.ly has really helped out in those cases. With that in mind, I wonder wha…

The biggest, outside of twitter, has to be the method of emailing enormous html links to someone.

Last I tried, I could send an email formatted in HTML, where:

  See this
didn't take that much space, and could be read by any half-decent email client. Even alpine can do it.
Post reply on HN