<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hchuno</author_name>
  <author_url>https://blog.hatena.ne.jp/hchuno/</author_url>
  <blog_title>myChuno::blog</blog_title>
  <blog_url>https://hchuno.hatenablog.com/</blog_url>
  <categories>
    <anon>symfony</anon>
  </categories>
  <description>変数に格納された文字列をhtmlタグを有効にした状態で出力したい時、以下の２つの方法があるらしい。 $sf_data-&gt;getRaw() $sf_data-&gt;getRaw('変数名'); メソッドの引数にESC_RAWを与える $変数の中身を保持しているクラス-&gt;get変数名(ESC_RAW); 前者が上手くいかなかったので、後者で実現。 ↑newsオブジェクトに入っているcontentというデータを取得する場合の処理。 ※2012-02-20追記 以下のやり方で手軽に実現可能 setVar()の第三引数にtrueを渡す(Actionクラスに記述) $this-&gt;setVar(テンプレートで使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhchuno.hatenablog.com%2Fentry%2F20120123%2F1327318510&quot; title=&quot;エスケープしたくない時 - myChuno::blog&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://cdn-ak.f.st-hatena.com/images/fotolife/h/hchuno/20120123/20120123203452.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-23 20:35:10</published>
  <title>エスケープしたくない時</title>
  <type>rich</type>
  <url>https://hchuno.hatenablog.com/entry/20120123/1327318510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
