<?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>JavaScript での変数を使った文字列の作成は何かとめんどくさいですね。prototype.js では 1.5_pre0 から Template という簡易テンプレートとして使えるクラスが加わりました。相変わらずドキュメントはソースと test 嫁なので簡単な使い方を紹介します。 まずは Template となる文字列を new Template で作ります。Template のリテラルは #{}です*1 。 var t = new Template('#{foo}, #{bar}!');次に作成した Template インスタンスの evaluate 関数を呼び出し、引数として Has…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecondlife.hatenablog.jp%2Fentry%2F20060420%2F1145496028&quot; title=&quot; prototype.js 1.5 からの新機能 Template の使い方 - 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://images-jp.amazon.com/images/P/4774125792.09.MZZZZZZZ.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-04-20 10:20:28</published>
  <title> prototype.js 1.5 からの新機能 Template の使い方</title>
  <type>rich</type>
  <url>https://secondlife.hatenablog.jp/entry/20060420/1145496028</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
