<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toolkit</author_name>
  <author_url>https://blog.hatena.ne.jp/toolkit/</author_url>
  <blog_title>印刷屋のdeveloper日記</blog_title>
  <blog_url>https://toolkit.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>ActiveRecordをXMLにシリアライズするのは非常にお気軽で良いのですが、日本語が数値参照形式になってしまいます。 katochan = Member.create(:name =&gt; '加藤茶', :email =&gt; 'katochan@hoge.com') puts katochan.to_xml 結果はこのとおり。 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;member&gt; &lt;created-at type=&quot;datetime&quot;&gt;2008-06-02T17:46:34+09:00&lt;/created-at&gt; &lt;id type=&quot;integer&quot;&gt;1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoolkit.hatenadiary.org%2Fentry%2F20080602%2Fp1&quot; title=&quot;ActiveRecord#to_xmlの日本語対応版（？）を作る - 印刷屋のdeveloper日記&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-06-02 00:00:00</published>
  <title>ActiveRecord#to_xmlの日本語対応版（？）を作る</title>
  <type>rich</type>
  <url>https://toolkit.hatenadiary.org/entry/20080602/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
