@cocoism aiueo @cocoismあいうえお
ちなみに、「武蔵小杉@cafe」みたいなのも変換されますので、対象となるコンテンツを特定しておくとよいでしょう。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Twitter @Anywhere:linkifyUsers | 設置サンプル</title> <link rel="stylesheet" type="text/css" href="/content/lib/global.css" /> <script src="http://platform.twitter.com/anywhere.js?id=Vr1OpiUZD7KOxQlpSvYdEA&v=1"></script> <script type="text/javascript"> twttr.anywhere(function(T) { T("#res").linkifyUsers(); }); </script> <link rel="stylesheet" type="text/css" href="/common/css/example.css"></head> <body id='example3' class='example'><div class="ads" style="margin:32px auto;text-align:center;"></div><h1 class='h'><a href='/'>PHP & JavaScript Room</a> :: 設置サンプル</h1> <h3 class='h'>実行結果</h3> <p id="res"> @cocoism aiueo @cocoismあいうえお</p> </p> <p> ちなみに、「武蔵小杉@cafe」みたいなのも変換されますので、対象となるコンテンツを特定しておくとよいでしょう。 </p> </body> </html>