<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>eRuby ファイルに Syntax error があると、該当箇所を見つけるのはかなり困難である。理由は簡単で、HTML と Ruby コードとが混じっているから。 たとえば と のあいだにたくさんの HTML タグが入っていると、それだけで for と end の対応を確認するのが難しくなる。たとえばこんな hoge.rhtml があったとする。 &lt;html&gt; &lt;body&gt; &lt;h1&gt;&lt;%=h @title %&gt;&lt;/h1&gt; &lt;% if !@list || @list.empty? %&gt; &lt;p&gt;not found.&lt;/p&gt; &lt;% else %&gt; &lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20080222%2F1203680051&quot; title=&quot; eRuby のファイルから Ruby の文と式だけを抜き出す - kなんとかの日記&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-02-22 20:34:11</published>
  <title> eRuby のファイルから Ruby の文と式だけを抜き出す</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20080222/1203680051</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
