<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gnarl</author_name>
  <author_url>https://blog.hatena.ne.jp/gnarl/</author_url>
  <blog_title>&amp;lt;s&amp;gt;gnarl,&amp;lt;/s&amp;gt;技術メモ”’&amp;lt;marquee&amp;gt;&amp;lt;textarea&amp;gt;￥</blog_title>
  <blog_url>https://gnarl.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>erubisの文法チェックなら $ erubis -zで可能かとおもいきや、RailsというかActionViewのERBは謎の文法拡張がされており無理であった(一部のケースでvalidなテンプレートが引っかかる)。ActionView::Template::Handlers::Erubisを使うことで正しく解釈可能。 https://github.com/jugyo/rails-erb-check/blob/master/lib/rails-erb-check.rbということでこういうシェルスクリプト書いた function assert_valid_erb() { file=$1 echo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgnarl.hatenadiary.org%2Fentry%2F20120327%2F1332853480&quot; title=&quot; Rails3用に書かれたerbファイルの文法チェックをする - &amp;amp;lt;s&amp;amp;gt;gnarl,&amp;amp;lt;/s&amp;amp;gt;技術メモ”’&amp;amp;lt;marquee&amp;amp;gt;&amp;amp;lt;textarea&amp;amp;gt;￥&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>2012-03-27 22:04:40</published>
  <title> Rails3用に書かれたerbファイルの文法チェックをする</title>
  <type>rich</type>
  <url>https://gnarl.hatenadiary.org/entry/20120327/1332853480</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
