<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cakephper</author_name>
  <author_url>https://blog.hatena.ne.jp/cakephper/</author_url>
  <blog_title>cakephperの日記(CakePHP, Laravel, PHP)</blog_title>
  <blog_url>https://cakephper.hatenadiary.org/</blog_url>
  <categories>
    <anon>cakePHP</anon>
    <anon>view</anon>
  </categories>
  <description>Cakephp1.2RC2の環境です。コントローラで下記のようにすればOK. $filename = 'hoge.html'; $template = VIEWS . $this-&gt;viewPath . DS . $filename ; $this-&gt;render(null,null, $template ); renderの第2引数はレイアウトファイルの指定なので、レイアウトファイルを使う場合はレイアウト名を指定。 第３引数にファイルのパスを渡せば、Viewファイルとして読んでくれます。拡張子がhtmlだろうと問題ないです。$templateには、VEWSというapp/viewsまでの絶対パ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcakephper.hatenadiary.org%2Fentry%2F20080926%2F1222397761&quot; title=&quot; お好きなファイルをViewファイルにする - cakephperの日記(CakePHP, Laravel, PHP)&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>2008-09-26 11:56:01</published>
  <title> お好きなファイルをViewファイルにする</title>
  <type>rich</type>
  <url>https://cakephper.hatenadiary.org/entry/20080926/1222397761</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
