[短縮 URL]
あるとき自分のエントリーへのリンクがとても醜い URL になっていることに気がついた。
たとえば、プロのための iPhone プログラミング速習マニュアルについて紹介したエントリーの URL はつぎのようなものだった。
https://maclalala2.wordpress.com/2009/08/04/プロのための-iphone-プログラミング速習マニュアル/
ところが、はてなブックマークでは次のように変わって、とても醜くて見られたものではない。
それが Twitter だとさらに見たこともない URL に変わってしまう。[冒頭画像]
どうしてこうなるのか長い間分らなかった。
Dave Winer の記事を読んで、やっとこれが URL に内在する問題だと分った。
Scripting News: “Solving the TinyUrl centralization problem” by Dave Winer: 07 August 2009
* * *
URL に内在する問題
長い URL を生成するすべてのウェブアプリは URL を短縮できる手段を内蔵すべきだ。・・・
Every web app that produces long urls should provide a built-in url-shortening facility. […]
ブログソフトの生成するパーマリンクは短いものであるべきだ。ユーザーはそれを要求しても然るべきだ。誰も使わない短縮 URL でネットワークを渋滞させたいと思うひとはいないから。
When blogging software gives you a permalink, it should be short. It’s okay to make the user ask for one, why clog up the system with shortened urls no one uses.
* * *
URL の寿命
もうひとつの重要な問題点。短縮 URL が与えられた場合、生成ソフトへのフィードバックが可能であるべきだ。そうすれば短縮リンクがもとの URL とが同じ寿命を持つことになるはずだから・・・
Another key point, when they give you a shortened url, it should point back to the software that gave it to you, so the shortened link will be exactly as long-lived as the thing it’s pointing to. […]
今になって考えると、Twitter が TinyUrl を使ったのは間違いだった。なぜならリンクが2社の2つのサーバーに依存することとなるからだ。1社で済めば壊れることもより少なくなるはずだ。
It’s a mistake, in hindsight, for Twitter to give us TinyUrl urls, because the link depends on two companies and two servers. It would be better if it just depended on one, less likely to break.
* * *
長くて醜い URL
そもそもユーザーはどうして長くて醜い URL(the longer crappy url)を使わなければならないのか。
Why should a user ever see the longer crappy url?
言い換えれば、URL 短縮は Twitter ユーザーのためだけのものではない。みんなのためなのだ。 URL を見るひとなんてほどんどいないかもしれない。しかし必要とするひともいるのだ。ましなものになればもっと見るひとも増えるかもしれない。
In other words, url-shortening isn’t just for Twitter users, it’s for everyone. Maybe most people don’t look at the urls, but some do, and maybe more would if they made more sense?
* * *
この問題に対するひとつの回答を WordPress.com が与えている。
WordPress.com: “WP.me — shorten your links” by Matt Mullenweg: 14 August 2009
WordPress.com 日本語ブログ: “WP.me — リンクを短縮しよう!“: 14 August 2009[Naoko McCracken 訳]
* * *
URL 短縮サービス WP.me
• WP.me は、世界で唯一2文字の .me ドメインです。
• 現在、すべての WordPress.com サイトと投稿には WP.me の URL が割り当てられています。
• このショートリンクは、<head> 内に rel=shortlink を使って公開されています。
• 世界中のあらゆる URL に使えるわけではなく、WP.com のブログにのみ有効です。
• リンクは永久的に変わりません。WordPress.com サービスが続く限りずっと使うことができます。
• WP.me はスパムフリーです。その理由は、私たちが常に WP.com を監視し、スパムを除去しているからです。[Naoko McCracken 訳]
• WP.me is the only two-letter .me domain in the world.
• Every blog and post on WordPress.com has a WP.me URL now.
• These are all exposed in the <head> using rel=shortlink.
• It doesn’t work for any URL in the world, just WP.com-hosted ones.
• The links are permanent, they will work as long as WordPress.com is around.
• WP.me is spam-free, because we are constantly monitoring and removing spam from WP.com.
* * *
短縮サービスの問題点
・・・Twitter の成長(と、その文字数制限)により、URL 短縮サービスは驚くほど多く利用されるようになりましたが、私は短縮サービスのビジネスとしての持続可能性には疑問を持っています。この考えは、人気のあった tr.im が今年末に終了すると告知したことにより、改めて浮き彫りになりました。
[…] While URL shorteners have had some incredible usage tied to the growth (and constraints) of Twitter, I question their sustainability as a business. This point was underscored a few days ago when a popular one, tr.im, announced they were going to shut down at the end of the year.
・・・また、短縮サービスは本質的には HTTP のオープンプロキシであり、将来的にはビジネスやアンチフィッシング、アンチウイルスサービスがその URL をブロックしなければならないほど、スパマーやマルウェア配布者によって悪用さてしまうのではないかと心配しています。[Naoko McCracken 訳]
[…] I also worry that because shorteners are essentially open proxies of HTTP they’ll be exploited by spammers and malware distributors to the point where businesses, anti-phishing, and anti-virus services will be forced to block them.
* * *
WP.me の使い方
どうやれば使えるかというと…。
How can you use it?
投稿を作成または編集するとき、パーマリンクの横に「Get Shortlink」ボタンがあります。これをクリックすれば、コピー&ペースト用にハイライトされた美しいリンクを含んだポップアップが現れます。
There is now a “Get Shortlink” button next to your permalink when you edit or write a post, and when you click it you’ll get a popup with the beautiful link already highlighted for your copy and pasting pleasure.
ログインしている間は、管理バーの「ブログ情報」メニューから WordPress.com のすべてのページへのショートリンクを見つけられます。[Naoko McCracken 訳]
If you’re logged in you can also get the shortlink for any page on WordPress.com, there’s a link under the “Blog Info” menu in your admin bar.
* * *
で、この投稿から使ってみることにした。
ところが、Get Shortlink をクリックするとエラーメッセージが・・・
はてさて・・・
Technorati Tags: Dave Winer, maclalala, TinyUrl, Twitter, URL, URL Shortener, WordPress, WP.me
短縮URLは URL 見ただけじゃどこにリンクされているのかわからないので好きじゃないです。
> GNUE(鵺) さん
たしかに・・・
長くて醜い URL は困り者ですが かといって せっかく名前がありながら 囚人番号で呼ばれるような・・・
「クソ面白くもない短縮 URL なんて誰が気にするものか」 という記事なんかみると 短縮 URL に不満を持つひとは 結構多いようですね
[…] This post was Twitted by twittag […]