<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tknzk</author_name>
  <author_url>https://blog.hatena.ne.jp/tknzk/</author_url>
  <blog_title>tknzk's blog</blog_title>
  <blog_url>https://tknzk.hatenablog.jp/</blog_url>
  <categories>
    <anon>覚え書</anon>
  </categories>
  <description>file_get_contentsで遊んでみた。 簡単に有名サイトのコピーが出来るのは、すごいな。 preg_replaceと組み合わせると 書き換えも簡単に出来てしまう。。 もっと遊べそうだから、研究しよう。yahoo!japan =&gt; やほぅjapan &lt;?php $url = &quot;http://www.yahoo.co.jp/&quot;; $buf = file_get_contents($url); $buf = mb_convert_encoding($buf, &quot;UTF-8&quot;, &quot;auto&quot;); $buf = preg_replace(&quot;/Yahoo/&quot;, &quot;やほぅ&quot;,$buf); echo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftknzk.hatenablog.jp%2Fentry%2F20070418%2F1176903304&quot; title=&quot;file_get_contents - tknzk&amp;#39;s blog&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>2007-04-18 22:35:04</published>
  <title>file_get_contents</title>
  <type>rich</type>
  <url>https://tknzk.hatenablog.jp/entry/20070418/1176903304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
