<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ruby-U</author_name>
  <author_url>https://blog.hatena.ne.jp/ruby-U/</author_url>
  <blog_title>rubyu's blog</blog_title>
  <blog_url>https://rubyu.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>app engine</anon>
  </categories>
  <description>最近iPhoneで使っているinstapaperという&quot;あとで読む&quot;アプリが、時々文字コードを適切に処理してくれないので、自前で全てutf-8に変換して渡してやろうとプロキシを書いた。 google mobile proxyという手段もあるんだけど、これは携帯用なので適当なサイズに分割されてしまう…。 似たような処理するコードを以前書いていたのでコピペコピペで完成した。 srcやhrefは元のurlの絶対パスに変換して出力するが、CSS内部からのリソースの参照などはそのまま放置している。instapaperのテキストモードで使う限りは使わないし…。 ま、とりあえずこれを噛ましてinstapap…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyu.hatenablog.com%2Fentry%2F20100211%2F1265900378&quot; title=&quot;文字コードをutf-8にするだけのプロキシを書いた - rubyu&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-11 23:59:38</published>
  <title>文字コードをutf-8にするだけのプロキシを書いた</title>
  <type>rich</type>
  <url>https://rubyu.hatenablog.com/entry/20100211/1265900378</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
