<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sion_shade</author_name>
  <author_url>https://blog.hatena.ne.jp/sion_shade/</author_url>
  <blog_title>しおんの部屋</blog_title>
  <blog_url>https://sion-shade.hatenablog.com/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>wordpress に新しいテーマを採用し、構造が良く分からなかったので、grep で content-area という文字列を含むファイル名一覧を得ようとした。 echo shell_exec(&quot;grep -r content-area wp-content/themes/ｘｘｘ/*');?&gt; ところがレンタルサーバーの制限で shell_exec が実行できなかった。そこで、自分で関数を作ることにした。 この関数は、 $t に探したい文字列 $d に探したいファイルを含むディレクトリを設定し実行すると、$d のディレクトリやそのサブディレクトリ内のファイルをサーチし、$t の文字列を含むフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsion-shade.hatenablog.com%2Fentry%2F2015%2F11%2F02%2F150651&quot; title=&quot;phpでgrepを使わずに指定した文字列を含むファイル名の一覧を表示する - しおんの部屋&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>2015-11-02 15:06:51</published>
  <title>phpでgrepを使わずに指定した文字列を含むファイル名の一覧を表示する</title>
  <type>rich</type>
  <url>https://sion-shade.hatenablog.com/entry/2015/11/02/150651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
