<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>x002dc</author_name>
  <author_url>https://blog.hatena.ne.jp/x002dc/</author_url>
  <blog_title>仕事なんて大嫌い</blog_title>
  <blog_url>https://x002dc.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>CakePHP</anon>
  </categories>
  <description>勉強がてらcakePHPのFormヘルパーのinputを使ってみたんだけど、ラベルの定義('label'=&gt;'ほげほげ')をいちいちオプションで与えるのが面倒。また複数人で開発している場合は、気を付けないと同じ項目でも別名になってしまう可能性があるかなぁと。SAStrutsみたいにpropertiesファイルに(labels.フィールド名)みたいに一箇所で定数を切ることで、項目の日本語名を置換できるようにしたい。ということで、Formヘルパーを変更してみた。ちなみにCakePHPの経験はあまりない(PHP自体きちんとやっていない)ので、もっと一般的なやり方があるのかもしれないが、とりあえず勉強…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fx002dc.hatenadiary.org%2Fentry%2F20110730%2F1311958836&quot; title=&quot;Form-&amp;gt;inputで出力されるラベルの名称をオプションではなく別ファイルで定義する - 仕事なんて大嫌い&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>2011-07-30 02:00:36</published>
  <title>Form-&gt;inputで出力されるラベルの名称をオプションではなく別ファイルで定義する</title>
  <type>rich</type>
  <url>https://x002dc.hatenadiary.org/entry/20110730/1311958836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
