<?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>
  </categories>
  <description>いつも郵便番号から住所を自動で補完するajaxzip2を利用させてもらってます。便利で助かる。このツール、name属性を使うことが前提となっているので、Cakephpで利用しようとすると、nameがdata[Model][zip]みたいになって、モデル単位でnameの値が変わってしまうので、ちょっと使いにくい。ということで、ID属性で使えるようにちょっとだけ修正した。CakeのViewファイルは、formヘルパーで下記のように、各inputフォームにidを指定します。あとは、Javascript読み込んで、下記のようなボタンを郵便番号入力欄の横に付けておく &lt;script src=&quot;/js/p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcakephper.hatenadiary.org%2Fentry%2F20100216%2F1266293151&quot; title=&quot; 郵便番号から住所を自動で補完するajaxzip2をID対応させた - 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>2010-02-16 13:05:51</published>
  <title> 郵便番号から住所を自動で補完するajaxzip2をID対応させた</title>
  <type>rich</type>
  <url>https://cakephper.hatenadiary.org/entry/20100216/1266293151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
