<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>secondlife</author_name>
  <author_url>https://blog.hatena.ne.jp/secondlife/</author_url>
  <blog_title>2nd life (移転しました)</blog_title>
  <blog_url>https://secondlife.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>ちょっと CSS で変数が使えたらなぁ、などと思うことが多々あります。そんなとき、適当なテンプレートエンジン使って CSS 記述しちゃえば！とか思うのですが、わざわざそんなことするまでもないし、と思いとどまってそれ以上何かすることはありませんでした。 CSS に限って云えば、Lucky bag::blog: CSS の値に変数を使用する の方法でサーバサイドで生成したり、その他アプローチで動的、静的に生成など、様々な手法があると云えます。 ちょっと話は変わって ERb。皆さんご存じの方も多いと思われる、ruby 1.8 標準添付のテンプレートエンジンです。ERb を使ってテンプレートファイルを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecondlife.hatenablog.jp%2Fentry%2F20060802%2F1154445231&quot; title=&quot; ファイル保存時に ERb でコンパイルして保存 - 2nd life (移転しました)&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>http://ecx.images-amazon.com/images/I/41EVX5VDMWL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-08-02 00:13:51</published>
  <title> ファイル保存時に ERb でコンパイルして保存</title>
  <type>rich</type>
  <url>https://secondlife.hatenablog.jp/entry/20060802/1154445231</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
