<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pneumaster</author_name>
  <author_url>https://blog.hatena.ne.jp/pneumaster/</author_url>
  <blog_title>bugfix</blog_title>
  <blog_url>https://pneumaster.hatenadiary.org/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>ふとしたことから，友人とある課題に取り組んでいるわけで． とあるURLにあるhtmlから，その階層以下のファイルのみを対象にしたパターンを考えている． 相対URLで`..'が出てくるのと， 外部ドメインのURLが`http://......'ではじまるだろうということで file=&quot;[^h.]*/.*\.($ext)&quot; という感じの正規表現を考えた．$extは拡張子．(jpg|png)とかそんなん． 役割を果たすようにスクリプト自体は書けたのだが， どうも，自分としてはこのパターンがスマートに見えない． んじゃあ，実装例を見てみようということでwgetのソースを読み始めてみた． 結論から言って…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpneumaster.hatenadiary.org%2Fentry%2F20090117%2Fp1&quot; title=&quot;wgetの-npオプションの実装 - bugfix&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-17 00:00:00</published>
  <title>wgetの-npオプションの実装</title>
  <type>rich</type>
  <url>https://pneumaster.hatenadiary.org/entry/20090117/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
