We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我没有使用过其中任何一个,但是快速谷歌搜索会出现很多结果
这是一个很好的教程 关于如何自己做
这里有一个 php 。
用户帐户创建方面是一个单独的问题,我不知道有任何 url 缩短脚本会考虑这一点 不过,您可能想考虑使用 openID 提供商进行身份验证。
I haven't used any of these, but a quick googling turns up lots of results
Here's a good tutorial on how to do it yourself
Here's a php implementation you can use for free
The user account creation side of things is a separate issue and I'm not aware of any url-shortening scripts that would consider that. You might want to look into using openID providers for your authentication, though.
HotScripts 看起来有一些。没有使用过,但这可能是一个很好的起点。
HotScripts looks like it has a few. Haven't used any but that might be a good place to start.
查看 ur.ly。我几乎每天都用它来压缩 URL。
如果您想使用 API 与 URL 压缩服务交互,他们有。他们还发布了他们的代码,因此如果您想做类似的事情,可以查看它。它是用 Python 编写的。
ur.ly 没有帐户或不允许删除,但代码应该可以帮助您入门。
编辑要使用帐户管理网址,您可以尝试bit.ly,但他们不这样做不要提供他们的代码 AFAICT。不过,他们确实提供了包含身份验证的 API。
Check out ur.ly. I use it almost daily to compress URL's.
If you want to use an API to interact with a URL compression service, they have that. They also publish their code, so you can check it out if you want to do something similar. It's written in Python.
ur.ly doesn't have accounts or allow deletion, but the code should help you get started.
EDIT for managing URL's using an account, you could try bit.ly, but they don't offer their code AFAICT. They do offer an API, though, that includes authentication.
我更喜欢 Shrinky 这个免费的 URL 缩短器,它是免费的,而且也必须列出来:
Shrinky - 免费网址缩短脚本
I prefer Shrinky the free URL shortener, it’s free and it must be listed too :
Shrinky - Free URL Shortener Script