<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takahirox</author_name>
  <author_url>https://blog.hatena.ne.jp/takahirox/</author_url>
  <blog_title>やる気のないブログ(A boring diary)</blog_title>
  <blog_url>https://takahirox.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>携帯</anon>
  </categories>
  <description>index.html &lt;html&gt; &lt;head&gt; &lt;/head&gt; &lt;body&gt; &lt;a href=&quot;./gps.cgi&quot; lcs&gt;位置情報を取得する&lt;/a&gt; &lt;/body&gt; &lt;/html&gt; aタグにlcsというパラメータをつけます。これを携帯(FOMA)でクリックすると「gps.cgi?*****」という感じでGPS位置情報がURLパラメータとして付記された状態でgps.cgiに転送されます。そこでここではURLパラメータを表示するようなコードを書いてみました。gps.cgi #!/usr/local/bin/ruby require 'cgi' cgi = CGI.new puts cgi.h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakahirox.hatenadiary.org%2Fentry%2F20090613%2F1244900634&quot; title=&quot;FOMAでGPS情報を取得して表示する - やる気のないブログ(A boring diary)&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>2009-06-13 22:43:54</published>
  <title>FOMAでGPS情報を取得して表示する</title>
  <type>rich</type>
  <url>https://takahirox.hatenadiary.org/entry/20090613/1244900634</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
