<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naga_sawa</author_name>
  <author_url>https://blog.hatena.ne.jp/naga_sawa/</author_url>
  <blog_title>..たれろぐ..</blog_title>
  <blog_url>https://naga-sawa.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>開発</anon>
  </categories>
  <description>前エントリに続いてブラウザ側の実装について。こちらは単純ですね。 WebSocket の有無を確認して、使えるなら WebSocket の URL を指定してコネクションを開く。 後は、メッセージが届いたら div ブロックを追加してメッセージ表示。送信ボタンが押されたら入力中のメッセージを送信しているだけです。サーバ側では、カレントディレクトリをドキュメントルートにしたので、カレントディレクトリに index.html と名付けて保存します。 &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=U…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaga-sawa.hatenadiary.org%2Fentry%2F20111018%2F1318930818&quot; title=&quot; Jetty8で作るWebSocketチャット(ブラウザ側編） - ..たれろぐ..&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-18 18:40:18</published>
  <title> Jetty8で作るWebSocketチャット(ブラウザ側編）</title>
  <type>rich</type>
  <url>https://naga-sawa.hatenadiary.org/entry/20111018/1318930818</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
