<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lettas0726</author_name>
  <author_url>https://blog.hatena.ne.jp/lettas0726/</author_url>
  <blog_title>働かないプログラマのメモ帳</blog_title>
  <blog_url>https://lettas0726.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>twitter</anon>
  </categories>
  <description>はぐれメタルのBOTとそのサイトをRuby on Railsに移植しました。2〜3年前に最初のはぐれメタルができてからほとんど手を加えずに動かしてきたのですが、TwitterのAPIがそろそろ使えなくなりそうなのと、当時の自分のコードなんてメンテナンスする気になれないので、1から作り直しています。 今回の移植で勉強になったことをつらつらと書き連ねます。 Haml http://haml.info/ もともとのはぐれメタルのサイトはベタ書きの静的なhtmlで構成されていました。それをマルッとHamlに書き直しています。これと言って特別なことはしていません。HamlかわいいよHamlペロペロ。 r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flettas0726.hatenadiary.org%2Fentry%2F20130202%2F1359815064&quot; title=&quot;はぐれメタルBOTをRuby on Railsに移植しました - 働かないプログラマのメモ帳&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>2013-02-02 23:24:24</published>
  <title>はぐれメタルBOTをRuby on Railsに移植しました</title>
  <type>rich</type>
  <url>https://lettas0726.hatenadiary.org/entry/20130202/1359815064</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
