<?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>PHP</anon>
    <anon>CakePHP</anon>
  </categories>
  <description>入力テキストにURLが含まれていたら自動でリンクする app/config/bootstrap.php に独自関数を記述。 //オートリンク function autoLink($string){ $text = htmlspecialchars($string, ENT_QUOTES); $text = preg_replace('/(https?:\/\/[-_.!~*\'()a-zA-Z0-9;\/?:@&amp;=+$,%#]+)/', '&lt;a href=&quot;$1&quot;&gt;$1&lt;/a&gt;', $text); return $text; } app/views/posts/index.thtml &lt;spa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20080930%2F1222791975&quot; title=&quot;CakePHPでミニブログをつくる・その4 - パンプキンスパイスラテ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takeru-c/20081001/20081001012530.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-09-30 01:26:15</published>
  <title>CakePHPでミニブログをつくる・その4</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20080930/1222791975</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
