<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_uti</author_name>
  <author_url>https://blog.hatena.ne.jp/y_uti/</author_url>
  <blog_title>y_uti のブログ</blog_title>
  <blog_url>https://y-uti.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>せっかくランダム文生成ができたので、コーパスを変えてもう少し遊んでみました。青空文庫から『吾輩は猫である』を使ってみようと思います。 $ wget http://www.aozora.gr.jp/cards/000148/files/789_14547.html文字コードがシフト JIS なので変換しておきます。 $ iconv -f SHIFT_JIS -t UTF8 789_14547.html &gt;789_14547_utf8.htmlファイルの中身をざっと眺めてみたところ ruby タグが使われています。次のようにすればよさそうです。 rb タグの中身が img の場合は外字なので捨てる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-uti.hatenablog.jp%2Fentry%2F20120625%2F1340641470&quot; title=&quot;夏目漱石なランダム文生成 - y_uti のブログ&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>2012-06-25 01:24:30</published>
  <title>夏目漱石なランダム文生成</title>
  <type>rich</type>
  <url>https://y-uti.hatenablog.jp/entry/20120625/1340641470</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
