<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lunatycat</author_name>
  <author_url>https://blog.hatena.ne.jp/lunatycat/</author_url>
  <blog_title>猫の備忘録</blog_title>
  <blog_url>https://lunatycat.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Flickrの短縮URLをJavaで作ろうとしたけど、妙に詰まったのでメモ。 Flickrには短縮URLが用意されています。 http://flic.kr/p/HogeHge みたいな感じでアクセスできます。 このHogeHogeの部分は写真のIDをBase58エンコードしたものらしいです。 というわけで、Base64エンコードのコードを参考に作ったりしたけど、 どうにもうまくいかず、、最終的には以下のコードでうまくいきました。 private static String base58Encode(String id) { int num = Integer.parseInt(id); Str…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flunatycat.hatenadiary.org%2Fentry%2F20110621%2F1308649193&quot; title=&quot; Flickrの短縮URLをJavaで生成 - 猫の備忘録&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>2011-06-21 18:39:53</published>
  <title> Flickrの短縮URLをJavaで生成</title>
  <type>rich</type>
  <url>https://lunatycat.hatenadiary.org/entry/20110621/1308649193</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
