<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syou6162</author_name>
  <author_url>https://blog.hatena.ne.jp/syou6162/</author_url>
  <blog_title>yasuhisa's blog</blog_title>
  <blog_url>https://www.yasuhisay.info/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>はてな</anon>
  </categories>
  <description>ホテルのネットが絶望的に遅くて、はてな(グループ)にLogを書くときに非常にストレスフルなわけなのでして、どうにかしないと死ぬ。前も似たような感じで、ローカルはてなダイアリーっぽいことをやってた。 が、検索とかいらないので、とにかくプレビューだけしたいんじゃごらぁということでもっとお手軽な感じでやりたい。前はtext-hatenaというRubyのはてな記法のパーザーを使っていたが、今回はhparserというやつを代わりに使ってみる。で、以下のコードを~/bin/txt2hatenaという感じで保存して実行権限を付与(chmod +x)。 #!/opt/local/bin/ruby1.9 # -…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20111108%2F1320684080&quot; title=&quot;はてな記法で書いたテキストをローカルでプレビューする - yasuhisa&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>http://ecx.images-amazon.com/images/I/51BI+oUtJCL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-08 01:41:20</published>
  <title>はてな記法で書いたテキストをローカルでプレビューする</title>
  <type>rich</type>
  <url>https://www.yasuhisay.info/entry/20111108/1320684080</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
