<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kishi</author_name>
  <author_url>https://blog.hatena.ne.jp/Kishi/</author_url>
  <blog_title>public static void main</blog_title>
  <blog_url>https://kishi.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Windows</anon>
  </categories>
  <description>Oshira.se APIから情報を検索して表示するプログラムを勉強がてら書いてみました。 Railsを使わずに、まともにRubyのコードを書くのははじめてかも。net/httpでAtomを取得して、REXMLでXpathを使って解析しています。 Windows環境なので、ところどころで文字コードを変換しています。 ソースコード get_atom.rb require &quot;rexml/document&quot; require &quot;iconv&quot; require &quot;uri&quot; require &quot;net/http&quot; #引数がない場合 if ARGV.length == 0 then puts &quot;Usage: r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkishi.hatenadiary.org%2Fentry%2F20071105%2F1194260689&quot; title=&quot;RubyでAtomをパースする - public static void main&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>2007-11-05 20:04:49</published>
  <title>RubyでAtomをパースする</title>
  <type>rich</type>
  <url>https://kishi.hatenadiary.org/entry/20071105/1194260689</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
