<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeru-c</author_name>
  <author_url>https://blog.hatena.ne.jp/takeru-c/</author_url>
  <blog_title>パンプキンスパイスラテ</blog_title>
  <blog_url>https://pumpkin.hatenablog.jp/</blog_url>
  <categories>
    <anon>MovableType</anon>
  </categories>
  <description>一般画面でを使うと、指定されたファイルは「ブログのindex.htmlの位置」から見た相対パスで読み込まれるが、管理画面のテンプレートファイルで使うとどうだろうか。 試してみた。 結果、「CGIプログラムを配置したパスの位置」から見た相対パスで読み込まれるみたい。 というわけで、インデックステンプレートで生成されたファイルを管理画面で表示させるには、 &lt;mt:Setvarblock name=&quot;hogehoge&quot;&gt;&lt;$mt:BlogRelativeURL$&gt;filename.ext&lt;/mt:Setvarblock&gt; &lt;$mt:Include file=&quot;$hogehoge&quot;$&gt; とする。 MT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20090110%2F1231561585&quot; title=&quot;管理画面での「MTInclude」のファイルパスの基準点について - パンプキンスパイスラテ&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-01-10 13:26:25</published>
  <title>管理画面での「MTInclude」のファイルパスの基準点について</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20090110/1231561585</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
