{"id":57549,"date":"2023-07-02T17:30:12","date_gmt":"2023-07-02T09:30:12","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=57549"},"modified":"2023-07-02T17:30:12","modified_gmt":"2023-07-02T09:30:12","slug":"short-link","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/short-link.html","title":{"rendered":"3\u6b3e\u5f00\u6e90\u8f6f\u4ef6\u5e2e\u4f60\u7f29\u77ed\u94fe\u63a5"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6ca1\u6709\u4eba\u559c\u6b22\u4e00\u4e2a\u975e\u5e38\u957f\u7684 URL\u3002\u5b83\u4eec\u5f88\u96be\u89e3\u6790\u3002\u4f46\u6709\u65f6\u5019\uff0c\u7ad9\u70b9\u7684\u6df1\u5c42\u76ee\u5f55\u7ed3\u6784\u8fd8\u6709\u6700\u540e\u52a0\u4e0a\u7684\u5927\u91cf\u53c2\u6570\u4f7f\u5f97 URL \u5f00\u59cb\u53d8\u5f97\u5197\u957f\u3002\u5728 Twitter \u6dfb\u52a0\u81ea\u5df1\u7684\u94fe\u63a5\u7f29\u77ed\u670d\u52a1\u4e4b\u524d\u7684\u90a3\u4e9b\u65e5\u5b50\u91cc\uff0c\u4e00\u4e2a\u957f\u7684 URL \u610f\u5473\u7740\u4e0d\u5f97\u4e0d\u524a\u51cf\u63a8\u6587\u4e2d\u73cd\u8d35\u7684\u5b57\u7b26\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5982\u4eca\uff0c\u56e0\u4e3a\u5f88\u591a\u539f\u56e0\uff0c\u4eba\u4eec\u5f00\u59cb\u4f7f\u7528\u94fe\u63a5\u7f29\u77ed\u5668\u3002\u8fd9\u6837\u4eba\u4eec\u53ef\u4ee5\u66f4\u5bb9\u6613\u5730\u8f93\u5165\u6216\u8bb0\u4f4f\u53e6\u4e00\u4e2a\u5197\u957f\u7684\u7f51\u5740\u3002\u5b83\u4eec\u53ef\u4ee5\u4e3a\u793e\u4ea4\u5a92\u4f53\u5e10\u6237\u5e26\u6765\u4e00\u8d2f\u7684\u54c1\u724c\u5efa\u8bbe\u3002\u5b83\u4eec\u4f7f\u5bf9\u4e00\u7ec4\u7f51\u5740\u8fdb\u884c\u5206\u6790\u53d8\u5f97\u66f4\u8f7b\u677e\u3002\u5b83\u4eec\u4f7f\u5f97\u4e3a\u9891\u7e41\u53d8\u5316\u7684\u7f51\u7ad9 URL \u63d0\u4f9b\u7edf\u4e00\u7684\u5165\u53e3\u6210\u4e3a\u53ef\u80fd\u3002
\n\"3<\/p>\n

URL \u7f29\u77ed\u5668\u786e\u5b9e\u6709\u4e00\u4e9b\u4e0d\u8db3\u3002\u5728\u70b9\u51fb\u4e4b\u524d\u5f88\u96be\u77e5\u9053\u94fe\u63a5\u5b9e\u9645\u6307\u5411\u54ea\u91cc\uff0c\u800c\u4e14\u5982\u679c\u63d0\u4f9b\u77ed\u7f51\u5740\u670d\u52a1\u6d88\u5931\uff0c\u5c31\u4f1a\u5bfc\u81f4\u70c2\u94fe\u3002\u4f46\u662f\u5c3d\u7ba1\u9762\u4e34\u8fd9\u4e9b\u6311\u6218\uff0cURL \u7f29\u77ed\u5668\u4e0d\u4f1a\u6d88\u5931\u3002\u4f46\u662f\uff0c\u65e2\u7136\u5df2\u7ecf\u6709\u8fd9\u4e48\u591a\u514d\u8d39\u94fe\u63a5\u7f29\u77ed\u670d\u52a1\uff0c\u4e3a\u4ec0\u4e48\u8fd8\u8981\u81ea\u5df1\u6784\u5efa\uff1f\u7b80\u800c\u8a00\u4e4b\uff1a\u65b9\u4fbf\u63a7\u5236\u3002\u867d\u7136\u6709\u4e9b\u670d\u52a1\u53ef\u4ee5\u8ba9\u4f60\u9009\u62e9\u81ea\u5df1\u7684\u57df\u540d\u6765\u4f7f\u7528\uff0c\u4f46\u5f97\u5230\u7684\u5b9a\u5236\u7ea7\u522b\u4e0d\u540c\u3002\u4f7f\u7528\u81ea\u6258\u7ba1\u670d\u52a1\uff0c\u4f60\u53ef\u4ee5\u81ea\u5df1\u51b3\u5b9a\u670d\u52a1\u7684\u8fd0\u884c\u65f6\u95f4\u3001URL \u7684\u683c\u5f0f\u4ee5\u53ca\u51b3\u5b9a\u8c01\u53ef\u4ee5\u8bbf\u95ee\u4f60\u7684\u5206\u6790\u3002\u8fd9\u662f\u4f60\u81ea\u5df1\u62e5\u6709\u5e76\u4e14\u53ef\u4ee5\u64cd\u4f5c\u7684\u3002<\/p>\n

Lessn More<\/strong><\/div>\n

Lessn More \u662f\u4e00\u4e2a\u4e2a\u4eba URL \u7f29\u77ed\u5668\uff0c\u7528 PHP \u5199\u6210\uff0c\u5e76\u4ece\u4e00\u4e2a\u540d\u4e3a Buttered URL \u7684\u8f83\u65e7\u9879\u76ee fork \u800c\u6765\uff0c\u800c Buttered URL \u53c8\u662f\u4ece\u4e00\u4e2a\u540d\u4e3a Lessn \u7684\u9879\u76ee\u7684\u5206\u652f\u884d\u751f\u800c\u6765\u3002Lessn More \u80fd\u63d0\u4f9b\u4f60\u5bf9 URL \u7f29\u77ed\u5668\u6240\u9884\u671f\u7684\u5927\u90e8\u5206\u529f\u80fd\uff1aAPI \u548c\u4e66\u7b7e\u652f\u6301\u3001\u81ea\u5b9a\u4e49 URL \u7b49\u3002\u8fd8\u6709\u4e00\u4e9b\u6709\u7528\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u53ef\u4ee5\u8ba9 Lessn More \u4f7f\u7528\u5355\u8bcd\u9ed1\u540d\u5355\u6765\u907f\u514d\u4e0d\u5c0f\u5fc3\u521b\u5efa\u4e0d\u9002\u5f53\u7684 URL\u3001\u907f\u514d\u201c\u770b\u7740\u76f8\u4f3c\u201d\u7684\u5b57\u7b26\u6765\u4f7f URL \u66f4\u6613\u8bfb\u3001\u80fd\u591f\u9009\u62e9\u662f\u5426\u4f7f\u7528\u6df7\u5408\u5927\u5c0f\u5199\u7684\u5b57\u7b26\uff0c\u4ee5\u53ca\u4e00\u4e9b\u5176\u5b83\u6709\u7528\u7684\u529f\u80fd\u3002<\/p>\n

Lessn More \u5728 GitHub \u4e0a\u4ee5\u4e09\u53e5\u7248 BSD \u8bb8\u53ef\u8bc1\u516c\u5e03\u4e86\u6e90\u4ee3\u7801\u3002<\/p>\n

Polr<\/strong><\/div>\n

Polr \u5c06\u81ea\u5df1\u63cf\u8ff0\u4e3a\u201c\u73b0\u4ee3\u3001\u5f3a\u5927\u3001\u53ef\u9760\u7684 URL \u7f29\u77ed\u5668\u201d\u3002\u5b83\u5177\u6709\u76f8\u5f53\u76f4\u63a5\u4f46\u73b0\u4ee3\u5316\u7684\u754c\u9762\uff0c\u50cf\u6211\u4eec\u8fd9\u91cc\u8be6\u7ec6\u4ecb\u7ecd\u7684\u5176\u4ed6\u9009\u62e9\u90a3\u6837\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a API \u6765\u5141\u8bb8\u4f60\u4ece\u5176\u4ed6\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u5b83\u3002\u5728\u8fd9\u4e09\u4e2a\u53ef\u9009\u54c1\u4e2d\uff0c\u5b83\u5728\u529f\u80fd\u4e0a\u662f\u6700\u8f7b\u91cf\u7ea7\u7684\uff0c\u4f46\u5982\u679c\u4f60\u6b63\u5728\u5bfb\u627e\u4e00\u4e2a\u7b80\u5355\u4f46\u529f\u80fd\u5b8c\u6574\u7684\u9009\u62e9\uff0c\u90a3\u4e48\u8fd9\u53ef\u80fd\u662f\u4f60\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4e0b\u8f7d\u4e4b\u524d\u4f60\u53ef\u4ee5\u67e5\u770b\u5728\u7ebf\u6f14\u793a\u3002<\/p>\n

Polr \u7684\u6e90\u4ee3\u7801 \u5728 GitHub \u4e2d\u4ee5 GPLv2 \u8bb8\u53ef\u8bc1\u516c\u5e03\u3002<\/p>\n

YOURLS<\/strong><\/div>\n

YOURLS\uff0c\u662f \u201cYour Own URL Shortener\u201d\uff08\u4f60\u81ea\u5df1\u7684 URL \u7f29\u77ed\u5668\uff09\u7684\u7f29\u5199\uff0c\u5b83\u662f\u6211\u6700\u719f\u6089\u7684\u9009\u62e9\u3002\u6211\u5728\u4e2a\u4eba\u7f51\u7ad9\u4e0a\u5df2\u7ecf\u8fd0\u884c\u4e86\u597d\u51e0\u5e74\uff0c\u5e76\u4e14\u5bf9\u5176\u529f\u80fd\u975e\u5e38\u6ee1\u610f\u3002<\/p>\n

\u5b83\u662f\u7528 PHP \u7f16\u5199\u7684\uff0cYOURLS \u529f\u80fd\u975e\u5e38\u4e30\u5bcc\u5e76\u4e14\u53ef\u4ee5\u5f88\u597d\u5730\u5f00\u7bb1\u5373\u7528\u3002\u4f60\u53ef\u4ee5\u5c06\u5176\u914d\u7f6e\u4e3a\u4efb\u4f55\u4eba\u53ef\u516c\u5f00\u4f7f\u7528\uff0c\u6216\u53ea\u5141\u8bb8\u67d0\u4e9b\u7528\u6237\u4f7f\u7528\u5b83\u3002\u5b83\u652f\u6301\u81ea\u5b9a\u4e49 URL\uff0c\u62e5\u6709\u4e66\u7b7e\u529f\u80fd\uff0c\u4f7f\u5f97\u5171\u4eab\u5f88\u5bb9\u6613\uff0c\u5b83\u8fd8\u5177\u6709\u975e\u5e38\u5f3a\u5927\u7684\u5185\u7f6e\u7edf\u8ba1\u4fe1\u606f\uff0c\u5e76\u652f\u6301\u53ef\u63d2\u62d4\u7684\u67b6\u6784\uff0c\u4ee5\u5141\u8bb8\u5176\u4ed6\u4eba\u6dfb\u52a0\u529f\u80fd\u3002\u5b83\u8fd8\u6709\u4e00\u4e2a API\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u7528\u5b83\u521b\u5efa\u5176\u4ed6\u7a0b\u5e8f\u3002<\/p>\n

\u4f60\u53ef\u4ee5\u5728 Github \u4e2d\u627e\u5230 MIT \u8bb8\u53ef\u8bc1\u4e0b\u7684 YOURLS \u6e90\u4ee3\u7801\u3002<\/p>\n


\n

\u8fd9\u4e9b\u9009\u62e9\u90fd\u4e0d\u559c\u6b22\u4e48\uff1f\u770b\u4e0b\u4e92\u8054\u7f51\uff0c\u4f60\u4f1a\u53d1\u73b0\u8fd8\u6709\u5176\u4ed6\u51e0\u4e2a\u9009\u62e9\uff1ashuri\u3001Nimbus\u3001Lstu \u7b49\u7b49\u3002\u9664\u4e86\u8fd9\u4e9b\u9009\u62e9\u5916\uff0c\u6784\u5efa\u94fe\u63a5\u7f29\u77ed\u5668\u53ef\u4ee5\u4f5c\u4e3a\u5e2e\u52a9\u4e86\u89e3\u65b0\u8bed\u8a00\u6216 Web \u6846\u67b6\u7684\u7b2c\u4e00\u6b21\u7f16\u7a0b\u9879\u76ee\u3002\u6bd5\u7adf\uff0c\u5b83\u7684\u6838\u5fc3\u529f\u80fd\u975e\u5e38\u7b80\u5355\uff1a\u4ee5 URL \u4f5c\u4e3a\u8f93\u5165\uff0c\u5e76\u91cd\u5b9a\u5411\u5230\u53e6\u4e00\u4e2a URL\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u5b83\u53d6\u51b3\u4e8e\u4f60\u81ea\u5df1\u60f3\u8981\u6dfb\u52a0\u7684\u529f\u80fd\u3002<\/p>\n


\n

via: https:\/\/opensource.com\/article\/17\/3\/url-link-shortener<\/a><\/p>\n

\u4f5c\u8005\uff1aJason Baker<\/a> \u8bd1\u8005\uff1ageekpi<\/a> \u6821\u5bf9\uff1ajasminepeng<\/a><\/p>\n

\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8361-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1a http:\/\/lrxjmw.cn\/short-link.html<\/a>\u7f16\u8f91\u5458\uff1a\u674e\u5e05\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u60f3\u8981\u6784\u5efa\u4f60\u81ea\u5df1\u7684 URL \u7f29\u77ed\u5668\uff1f\u8fd9\u4e9b\u5f00\u6e90\u9879\u76ee\u4f7f\u8fd9\u4e2a\u53d8\u5f97\u7b80\u5355\u3002\u6ca1\u6709\u4eba\u559c\u6b22\u4e00\u4e2a\u975e\u5e38\u957f\u7684 URL\u3002<\/p>\n","protected":false},"author":63,"featured_media":57659,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-57549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/57549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=57549"}],"version-history":[{"count":8,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/57549\/revisions"}],"predecessor-version":[{"id":276515,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/57549\/revisions\/276515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/57659"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=57549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=57549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=57549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}