TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Google Code Blog: Google URL Shortener gets an API

33 点作者 motvbi超过 14 年前

7 条评论

NathanKP超过 14 年前
That's nice. I've been using the following piece of sneaky ghetto code to take advantage of Google Toolbar's URL shortening API:<p><a href="http://codepaste.net/48qfb7" rel="nofollow">http://codepaste.net/48qfb7</a><p>But now I'll be able to shorten URL's with an official API rather than using a hack. I don't know why Google didn't make a public API from the start.
burgerbrain超过 14 年前
Now if only <i>they</i> would start using this. Google Maps' permalinks are absolutely <i>terrible</i> for example...
评论 #2090337 未加载
schumihan超过 14 年前
If I tries to shorten the url of <a href="http://google.com" rel="nofollow">http://google.com</a> several times, goo.gl always give back different result. I just wonder will goo.gl merge theses url together sometime later?<p>This interesting found implies how goo.gl is designed. They prefer writing directly to avoid duplication check and random seek caused by the check. And they though most of the urls are cold so it is not essential to merge them together to keep the hot cache small.<p>Or they assume nobody wants to play the system in this way. :-)
评论 #2090629 未加载
antimatter15超过 14 年前
A few apps have been using the exact same API (though it wasn't officially documented until now) for some time now.
frankacter超过 14 年前
Any insight to whether this would be rolled into a Google Apps for your domain offering?<p>We're using yourls.org currently for our short domain name and would welcome ($) the opportunity of offloading the traffic to Google's servers.
评论 #2091429 未加载
togasystems超过 14 年前
Does it include the QR generator?
评论 #2090229 未加载
joshfraser超过 14 年前
Thanks Google, but we're already happy with bit.ly. URL shorteners were hot a year ago. Now, not so much.
评论 #2091022 未加载