<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tohokuaiki</author_name>
  <author_url>https://blog.hatena.ne.jp/tohokuaiki/</author_url>
  <blog_title>tohokuaikiのチラシの裏</blog_title>
  <blog_url>https://tohokuaiki.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>テンプレートファイルのディレクトリ構成 | 眠る開発屋blog 実行ファイルのディレクトリとテンプレートディレクトリの分離はセキュリティ的に安全というか、デザイナとプログラマの責務が明確になるというか、システムの教科書的には美しいのかなと思う。が、正直、運用を考えるとこの仕組みは使いにくい。 っていうのは、確かにそうですね。んていうので、PHPフレームワークEthna使った前提だけど、こうやっています。まず、Ethna側でテンプレファイルの拡張子指定を.htmlにしておきます。次に、ドキュメントルートで（じゃなくてもいいんですが）.htaccessを AddType application/x…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftohokuaiki.hateblo.jp%2Fentry%2F20080128%2F1201506014&quot; title=&quot; テンプレートと実行ファイルの位置関係とか - tohokuaikiのチラシの裏&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/t/tohokuaiki/20080128/20080128165152.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-01-28 16:40:14</published>
  <title> テンプレートと実行ファイルの位置関係とか</title>
  <type>rich</type>
  <url>https://tohokuaiki.hateblo.jp/entry/20080128/1201506014</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
