<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rna</author_name>
  <author_url>https://blog.hatena.ne.jp/rna/</author_url>
  <blog_title>rna fragments</blog_title>
  <blog_url>https://rna.hatenadiary.jp/</blog_url>
  <categories>
    <anon>hw</anon>
    <anon>perl</anon>
  </categories>
  <description>はてダラの filter 機能で使うちょっといいスクリプト。filter 機能の使い道はコード変換だけじゃありません*1。自分専用のタグを導入するのにも使えます。例えば画像をたくさん使う日記で img タグを書くのがダルいという人はこういうのはいかがでしょう? まずこんなスクリプトを用意します。tagconv.pl: #!/usr/bin/perl $base = &quot;http://www.horobi.com/saku2&quot;; while(&lt;&gt;){ s/^img:([^:]+):(.+)$/&lt;img src=\&quot;$base\/$1\&quot; title=\&quot;$2\&quot; alt=\&quot;$2\&quot;&gt;/; pri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frna.hatenadiary.jp%2Fentry%2F20040904%2Fp1&quot; title=&quot;はてダラで画像リンクを簡単に - rna fragments&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>2004-09-04 00:00:00</published>
  <title>はてダラで画像リンクを簡単に</title>
  <type>rich</type>
  <url>https://rna.hatenadiary.jp/entry/20040904/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
