<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakahda</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakahda/</author_url>
  <blog_title>tanakahdaのプログラマ手帳</blog_title>
  <blog_url>https://tanakahda.hateblo.jp/</blog_url>
  <categories>
    <anon>Node.js</anon>
  </categories>
  <description>var storage = multer.diskStorage({ /** * 保存先を変更します。 */ destination: function (req, file, cb) { console.log(req.body.dir_name); var dir = 'uploads/' + req.body.dir_name; var fs = require('fs'); fs.mkdir(dir); cb(null, dir); }, /** * ファイル名を変更します。 */ filename: function (req, file, cb) { cb(null, file.f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanakahda.hateblo.jp%2Fentry%2F2016%2F02%2F20%2F022015&quot; title=&quot;multerでファイルの保存先を動的に生成する＠Node.js - tanakahdaのプログラマ手帳&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>2016-02-20 02:20:15</published>
  <title>multerでファイルの保存先を動的に生成する＠Node.js</title>
  <type>rich</type>
  <url>https://tanakahda.hateblo.jp/entry/2016/02/20/022015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
