<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>denchuinc</author_name>
  <author_url>https://blog.hatena.ne.jp/denchuinc/</author_url>
  <blog_title>電柱日報</blog_title>
  <blog_url>https://arcage.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>hatena</anon>
  </categories>
  <description>昨日からチョコチョコと手を入れて、日次のまとめ送りスクリプトをはてなハイクに対応させました。 JASONでデータが取り出せると、扱いが楽で良いですね*1。 少し面倒だったのは、Twitterとの互換制を考慮した結果だとは思いますが、取得エントリの日次による絞り込みがUTCでしか出来ない点でして。 スクリプト実行時の前日分を取り出したい場合、まず現在時刻から前日の日本時間午前０時のTimeオブジェクトを作成し、それをUTC変換した上でHTML形式で書き出してJSON取得時のパラメータに当てています。 後になって、「HTML形式でタイムゾーンを指定してやれば良いだけじゃん？」と言うことに気づいたん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farcage.hatenadiary.jp%2Fentry%2F20090128%2Fp2&quot; title=&quot; Haikuまとめ送り - 電柱日報&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>2009-01-28 00:00:01</published>
  <title> Haikuまとめ送り</title>
  <type>rich</type>
  <url>https://arcage.hatenadiary.jp/entry/20090128/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
