<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>dropboxに何も入れておらず寂しくなったので、WallPaperをダウンロードして置いてみたくなりました。 とりあえず、書いてみた。ruby foo.rb でOK. コード require 'rubygems' require 'hpricot' require 'open-uri' url = ARGV[0] class PhotoGet def initialize(url) @url = url @doc = Hpricot(open(@url).read) @a = [] end def get(ext) reg = /#{ext}$/ @a = (@doc/:a).map {|e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20081208%2F1228748215&quot; title=&quot; 指定した URL にある画像を取得 - harry’s memorandum&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-12-08 23:56:55</published>
  <title> 指定した URL にある画像を取得</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20081208/1228748215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
