<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>seratch2</author_name>
  <author_url>https://blog.hatena.ne.jp/seratch2/</author_url>
  <blog_title>seratch's weblog in Japanese</blog_title>
  <blog_url>https://seratch.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>したので、手順をメモ。Rails4 固有のアレはなさそうですが Rails4 でやったよというくらいです。 既存の erb ファイルを html2haml で変換して、古い erb ファイルを全部削除。 gem install html2haml cd app/views find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts &quot;html2haml -r #{i} #{i.sub(/erb$/,&quot;haml&quot;)}&quot;}' | bash find . -name *.erb | xargs git rm -f find . -name *.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseratch.hatenablog.jp%2Fentry%2F2013%2F11%2F01%2F175941&quot; title=&quot;Rails4 で ERB テンプレートを Haml に移行 - seratch&amp;#39;s weblog in Japanese&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>2013-11-01 17:59:41</published>
  <title>Rails4 で ERB テンプレートを Haml に移行</title>
  <type>rich</type>
  <url>https://seratch.hatenablog.jp/entry/2013/11/01/175941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
