<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>llamerad-jp</author_name>
  <author_url>https://blog.hatena.ne.jp/llamerad-jp/</author_url>
  <blog_title>~llamerada/memo/</blog_title>
  <blog_url>https://llamerad-jp.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>前提 JavaScript @ Opera 28 socket.io 1.3.5 ブラウザのJavaScript、location.hostはlocalhost:8080のようにポート番号が付記される。ただしポート番号が80の場合はlocalhostだけとなる。サンプルを実行してlocalhostだからといって、ポート番号を結合するコード(location.host + ':8080')を書くとlocalhost:8080:8080となって接続できない、、、とおもいきや、socket.ioのnamespaceに接続する場合は何もエラーを吐かずに動かないだけ、原因究明にえらい時間を使った。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllamerad-jp.hatenablog.com%2Fentry%2F2015%2F04%2F11%2F123000&quot; title=&quot;JavaScriptのlocation.hostが返す値にはポート番号が含まれる場合がある - ~llamerada/memo/&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>2015-04-11 12:30:00</published>
  <title>JavaScriptのlocation.hostが返す値にはポート番号が含まれる場合がある</title>
  <type>rich</type>
  <url>https://llamerad-jp.hatenablog.com/entry/2015/04/11/123000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
