<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pyxis-dev</author_name>
  <author_url>https://blog.hatena.ne.jp/pyxis-dev/</author_url>
  <blog_title>Pyxis 開発ブログ</blog_title>
  <blog_url>https://pyxis-dev.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Mako で、条件によって継承テンプレートを変えたかったので、 &lt;%inherit file=&quot;/${ c.flg and 'foo' or 'bar' }/index.tpl&quot; /&gt; としたら怒られた。inherit の中では、種々の変数はcontext 変数から取得しないといけないらしい。（参考） 正しくは &lt;%inherit file=&quot;/${ context.get('c').flg and 'foo' or 'bar' }/index.tpl&quot; /&gt; となる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyxis-dev.hatenadiary.org%2Fentry%2F20090707%2F1246936470&quot; title=&quot;Dynamic inheritance - Pyxis 開発ブログ&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>2009-07-07 12:14:30</published>
  <title>Dynamic inheritance</title>
  <type>rich</type>
  <url>https://pyxis-dev.hatenadiary.org/entry/20090707/1246936470</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
