<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>#!/usr/bin/env ruby require 'rubygems' gem 'tmail' require 'tmail' mail = TMail::Mail.parse(STDIN.read) mail.parts.each do |m| nexf unless m.content_type != 'image/jpeg' m.base64_decode File.open('xxx_new.jpg', 'w'){ |f| f.write m.body } end tmail_create.rb を実行してできた xxx_mail.txt を $ ruby tmail_parse…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20100209%2F1265647575&quot; title=&quot;TMail でメールから添付ファイルの画像を取り出しす - @kyanny&amp;#39;s blog&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>2010-02-09 01:46:15</published>
  <title>TMail でメールから添付ファイルの画像を取り出しす</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/20100209/1265647575</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
