<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takehikom</author_name>
  <author_url>https://blog.hatena.ne.jp/takehikom/</author_url>
  <blog_title>わさっきhb</blog_title>
  <blog_url>https://takehikom.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>研究室の学生が，Wordファイルを送ってくれたのだと思うのですが，Gmailでおかしな添付ファイルとして表示されていて，復元できません． こういうときはTMailを使えばいいかなと，gem install tmailとしてインストールし，あれこれスクリプトを書いたものの，失敗しました． 試行錯誤していると，Rubyのみで特別なライブラリを使うことなく，復元できました．手順を残しておきます． 1. Gmailのメールで「▼(右上)」「ヘッダー情報を表示」をクリックすると，メール全文が出てきますので，これを保存します(ファイル名を1.txtとします)． 2. テキストエディタで1.txtを開き，M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20080627%2F1214514511&quot; title=&quot; Gmailでデコードできなかった添付ファイルを，なんとかデコードする - わさっきhb&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-27 06:08:31</published>
  <title> Gmailでデコードできなかった添付ファイルを，なんとかデコードする</title>
  <type>rich</type>
  <url>https://takehikom.hateblo.jp/entry/20080627/1214514511</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
