<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>WordPress</anon>
    <anon>welcart</anon>
  </categories>
  <description>Welcartはファイル名を品番にすれば、そのファイルを取得して画面に画像表示してくれます。複数ある時は枝番をつければ大丈夫。で、今度300個近い商品の画像を準備するので、以下の要件を満たすPHPプログラムを書きました。 ディレクトリ名を品番と合わせる ディレクトリを再帰的に検索して、ファイル名をカレントディレクトリ名を同じにする 複数ファイルが有る場合は、それに枝番を足してあげる。 でもって、一括リネーム。 当初は誰でも使えるWindowsバッチでやろうとしたんだけど、面倒くさすぎた・・・。 商品画像ファイルを品番に一括置換するPHPプログラム</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2014%2F02%2F13%2F190421&quot; title=&quot;Welcart用に商品画像ファイルを品番に一括置換するPHPプログラム - Life is Really Short, Have Your Life!!&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>2014-02-13 19:04:21</published>
  <title>Welcart用に商品画像ファイルを品番に一括置換するPHPプログラム</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2014/02/13/190421</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
