<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bardothodol</author_name>
  <author_url>https://blog.hatena.ne.jp/bardothodol/</author_url>
  <blog_title>プログラミングを始める10の理由</blog_title>
  <blog_url>https://bardothodol.hatenadiary.org/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>API</anon>
  </categories>
  <description>というものを作ったんですが。simplexml_load_fileが置いてるサーバのphp4では使えないため実行結果はありません。 ソースだけ。PHP5が動くサーバの方は試しては。（文字コードはUTF-8）それにしても、超カンタンにできちゃうな〜 &lt;?php //XMLデータ取得用ベースURL $req = &quot;http://www.nicovideo.jp/api/getheadline&quot;; //XMLファイルをパースし、オブジェクトを取得 $xml = simplexml_load_file($req) or die(&quot;XMLパースエラー&quot;); //var_dump($xml); $str …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbardothodol.hatenadiary.org%2Fentry%2F20080302%2Fp2&quot; title=&quot;ニコ動の右上取得API - プログラミングを始める10の理由&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-02 00:00:01</published>
  <title>ニコ動の右上取得API</title>
  <type>rich</type>
  <url>https://bardothodol.hatenadiary.org/entry/20080302/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
