<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s7rpn</author_name>
  <author_url>https://blog.hatena.ne.jp/s7rpn/</author_url>
  <blog_title>7rpn’s blog: うわああああな日常</blog_title>
  <blog_url>https://7rpn.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>画像の一点をクリックしたら座標を取得してくれるようなそんなアプリがほしかった。 多分ドンピシャなソフトを探すより自分で作った方が速いだろう，と思ったので作りました。 RubyとHTMLを合わせても40行にも満たないミニアプリです。 画像をクリックするとその座標の位置情報をresult.txtに出力します。 require &quot;sinatra&quot; get &quot;/&quot; do erb :index end get &quot;/place&quot; do File.open(&quot;result.text&quot;, &quot;a&quot;) { |f| f.write params[&quot;x&quot;]+&quot;-&quot;+params[&quot;y&quot;]+&quot;\n&quot; } end __E…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F7rpn.hatenablog.com%2Fentry%2F2015%2F12%2F08%2F010845&quot; title=&quot;画像の座標を取得するアプリ作った(Ruby+sinatra+D3.js+jQuery) - 7rpn’s blog: うわああああな日常&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-12-08 01:08:45</published>
  <title>画像の座標を取得するアプリ作った(Ruby+sinatra+D3.js+jQuery)</title>
  <type>rich</type>
  <url>https://7rpn.hatenablog.com/entry/2015/12/08/010845</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
