<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shim0mura</author_name>
  <author_url>https://blog.hatena.ne.jp/shim0mura/</author_url>
  <blog_title>tumblr</blog_title>
  <blog_url>https://shim0mura.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>http://d.hatena.ne.jp/mzp/20090508/bitlyこっちでruby版が書かれていたのでphpで覚書。 自分で短縮URLを展開するのはもの凄く面倒。大体どこもAPIを用意してくれてはいるが、正直API叩くのも面倒。 で、そういう時に上のリンクで紹介されてるようにすればもの凄く楽に展開後のURLが取得できる。 実際にURLにアクセスして、Locationヘッダを見てる。すげーな、これ。これなら、大抵の短縮URLサービスが展開できるじゃないか。 http://d.hatena.ne.jp/mzp/20090508/bitly 種明かしするとそういうわけで、実際にAPIど…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshim0mura.hatenadiary.jp%2Fentry%2F20111130%2F1322601268&quot; title=&quot;PHPで短縮URLを展開する - tumblr&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-11-30 06:14:28</published>
  <title>PHPで短縮URLを展開する</title>
  <type>rich</type>
  <url>https://shim0mura.hatenadiary.jp/entry/20111130/1322601268</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
