<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HIGHLOOK</author_name>
  <author_url>https://blog.hatena.ne.jp/HIGHLOOK/</author_url>
  <blog_title>HighLookの日記</blog_title>
  <blog_url>https://highlook.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>まずはRailsのビューとコントローラだけでファイルのアップロードを作成 ビューの方はこんな感じ(new.html.erb) &lt;% form_tag({:controller =&gt; 'document', :action =&gt; 'create'}, :multipart =&gt; true) do %&gt; &lt;%= file_field :doc, 'file' %&gt;&lt;br/&gt; &lt;%= submit_tag '登録' %&gt; &lt;% end %&gt; でコントローラの方は、こんな感じ(document.controller.rb) def new end def create upload = params[…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhighlook.hatenadiary.org%2Fentry%2F20080916%2F1221515911&quot; title=&quot;ようやく簡単なファイルのアップロード - HighLookの日記&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>2008-09-16 06:58:31</published>
  <title>ようやく簡単なファイルのアップロード</title>
  <type>rich</type>
  <url>https://highlook.hatenadiary.org/entry/20080916/1221515911</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
