<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ode</author_name>
  <author_url>https://blog.hatena.ne.jp/ode/</author_url>
  <blog_title>odeの開発メモ日記</blog_title>
  <blog_url>https://ode.hatenadiary.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>前書き 受信したデコメをパースしたいと思います。 パーサーにはTMailを使用します。 Railsは使用しません。 空メの受け取り部分については書いてません。空メの内容を受け取った後の処理になります。 別にデコメに限らずただのテキストメールのパース、携帯でないHTMLメールのパースにも使えると思います。 取得する内容は下記のとおり from,toアドレス 件名 テキスト本文 HTML本文 添付画像（ファイル名、CID、バイナリ） つまづいた点（解決済み） 添付ファイルのCID(content-id)の取得 ドコモだけcidがとれなかった。 subjectの文字コード問題 デコードされた結果がエ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fode.hatenadiary.jp%2Fentry%2F20091113%2F1258103658&quot; title=&quot;rubyでデコメのパース - odeの開発メモ日記&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>2009-11-13 18:14:18</published>
  <title>rubyでデコメのパース</title>
  <type>rich</type>
  <url>https://ode.hatenadiary.jp/entry/20091113/1258103658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
