<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Xephy</author_name>
  <author_url>https://blog.hatena.ne.jp/Xephy/</author_url>
  <blog_title>PHPに惚れました</blog_title>
  <blog_url>https://xephy.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>API</anon>
    <anon>XML</anon>
    <anon>ニコニコ動画</anon>
  </categories>
  <description>今はnicoPlayerページと統合してnicoAPIページはありませんが 当時動かしていたスクリプトのソースでも公開してみようかなと。まずは取得の下準備。 マルチバイト文字変換関数 &lt;?php function convert($str) { return mb_convert_encoding($str, &quot;eucJP-win&quot; ,&quot;utf-8&quot;); } ?&gt; ニコニコ動画の動画情報APIはXMLファイル、文字コードはUTF-8で記述されています。 スクリプトの文字コードをUTF-8以外で書く場合は変換が必要です。 でないと、APIで取得した文字列部分は文字化けします。変換にはmb_con…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxephy.hateblo.jp%2Fentry%2F20081126%2F1227720625&quot; title=&quot;nicoAPI群解説(nicoAPI編) - 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-11-26 02:30:25</published>
  <title>nicoAPI群解説(nicoAPI編)</title>
  <type>rich</type>
  <url>https://xephy.hateblo.jp/entry/20081126/1227720625</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
