<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>marsonic</author_name>
  <author_url>https://blog.hatena.ne.jp/marsonic/</author_url>
  <blog_title>marsonicの日記</blog_title>
  <blog_url>https://marsonic.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>・YouTubeのtitleタグ部分だけ取得してみました。取得するのは簡単ですが、文字化けをどうするかで時間を取りまして。まぁ、なんとか表示するに至り・・・・。*HTMLのshift_jisの部分やmb_convert_encodingのSJISはそれぞれの環境によって変化させてください。 //match[0]には、&lt;title&gt;タグ付きの文字列が、 //match[1]には、&lt;title&gt;タグなしの文字列が入る。 &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=Shift_jis&quot;&gt;&lt;!-- HTMLの文字コードは、環境…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarsonic.hatenadiary.org%2Fentry%2F20090228%2F1235818193&quot; title=&quot;YouTubeのタグ部分を取得したい。ってさぁ。 - marsonicの日記&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-02-28 19:49:53</published>
  <title>YouTubeのタグ部分を取得したい。ってさぁ。</title>
  <type>rich</type>
  <url>https://marsonic.hatenadiary.org/entry/20090228/1235818193</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
