<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yasutomo57jp</author_name>
  <author_url>https://blog.hatena.ne.jp/yasutomo57jp/</author_url>
  <blog_title>ブログ（笑）</blog_title>
  <blog_url>https://yasutomo57jp.hatenadiary.org/</blog_url>
  <categories>
    <anon>作ってみた</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>どんな文字列もi18n な表記に変えてしまうスクリプトをRubyで書いてみた． #!/usr/bin/env ruby # i18nのような表記に変換するブロック i18nize=lambda do | token | if token.length &gt; 2 num=token[1..token.length-2].length token[0,1] + num.to_s + token[token.length-1,1] else token end end # メイン部分 print $_.scan(/[A-Za-z0-9]+|\.|,/).map(&amp;i18nize).join(&quot; &quot;)+…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyasutomo57jp.hatenadiary.org%2Fentry%2F20090606%2F1244271656&quot; title=&quot;i18nizer - ブログ（笑）&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-06-06 16:00:56</published>
  <title>i18nizer</title>
  <type>rich</type>
  <url>https://yasutomo57jp.hatenadiary.org/entry/20090606/1244271656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
