<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Karosu</author_name>
  <author_url>https://blog.hatena.ne.jp/Karosu/</author_url>
  <blog_title>カロスさんの懺悔部屋</blog_title>
  <blog_url>https://karosu.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>RubyでWebサーバを作る - 楽天ブログ（Blog） http://plaza.rakuten.co.jp/juniq/上記のサイトを参考にしてRubyでのHttpサーバーを書いてみた。 結論からまだ、未完成 起動させて localhost:8080にアクセスすると 自動的に、同じファイル内のindex.htmlを自動的に返して、 ファイルが存在しない場合は、一応反応を見せるプログラム 仕事で、socketを使って機器を制御する機会があったので、暇つぶしに組んでみた。 結構難しいやrequire 'socket' server = TCPServer.new(8080) bassic_fi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkarosu.hatenadiary.org%2Fentry%2F20110321%2F1300679154&quot; title=&quot;暇つぶしにRubyを使ってHTMLサーバーでも書いてみた - カロスさんの懺悔部屋&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-03-21 12:45:54</published>
  <title>暇つぶしにRubyを使ってHTMLサーバーでも書いてみた</title>
  <type>rich</type>
  <url>https://karosu.hatenadiary.org/entry/20110321/1300679154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
