什么是好的 URL 缩短脚本?

发布于 2024-08-10 14:35:46 字数 1539 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

兰花执着 2024-08-17 14:35:46

我没有使用过其中任何一个,但是快速谷歌搜索会出现很多结果

这是一个很好的教程 关于如何自己做

这里有一个 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.

笨笨の傻瓜 2024-08-17 14:35:46

HotScripts 看起来有一些。没有使用过,但这可能是一个很好的起点。

HotScripts looks like it has a few. Haven't used any but that might be a good place to start.

难忘№最初的完美 2024-08-17 14:35:46

查看 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.

栖迟 2024-08-17 14:35:46

我更喜欢 Shrinky 这个免费的 URL 缩短器,它是免费的,而且也必须列出来:
Shrinky - 免费网址缩短脚本

I prefer Shrinky the free URL shortener, it’s free and it must be listed too :
Shrinky - Free URL Shortener Script

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文