<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gallu</author_name>
  <author_url>https://blog.hatena.ne.jp/gallu/</author_url>
  <blog_title>がるの健忘録</blog_title>
  <blog_url>https://gallu.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>んと。ちょいと調査してたので、そのまま知識共有。 とりあえず公式Pageから。 http://www.nttdocomo.co.jp/service/imode/make/content/ip/ んで、そこに載っていないネタをいくつか。 まず。PHPでは $s = getenv('HTTP_X_DCMGUID');で取得いけます。環境によっては$_SERVERとか$_ENVとかいけるんだろうけどしらにゃい。 んで、送出条件ですが。 まず、URIの引数に「guid=on」を入れた場合、大文字小文字に関係なく出てきます。 問題は、formのときです。 まずOKパターン。 &lt;FORM action=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgallu.hatenadiary.jp%2Fentry%2F20080331%2Fp1&quot; title=&quot;DoCoMoさんのiモードIDの取得：PHP編 - がるの健忘録&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>2008-03-31 00:00:00</published>
  <title>DoCoMoさんのiモードIDの取得：PHP編</title>
  <type>rich</type>
  <url>https://gallu.hatenadiary.jp/entry/20080331/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
