<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hacolab</author_name>
  <author_url>https://blog.hatena.ne.jp/hacolab/</author_url>
  <blog_title>HacoLab</blog_title>
  <blog_url>https://hacolab.hatenablog.com/</blog_url>
  <categories>
    <anon>note</anon>
    <anon>playroom</anon>
    <anon>shell</anon>
  </categories>
  <description>はじめに つくるもの 動作例 コード XMLを1行にまとめる過程詳細 Step1. 改行記号として使うタグの&gt;を、別の文字('&lt;`)にしておく Step2. 行の区切りになる&lt;/entry&gt;を&gt;に置き換える Step3. 改行を一度全部削除する Step4. 改行記号としておいた(&gt;)を、改行に置き換える Step5. XMLタグの'&gt;'を元に戻す Step6. &lt;/entry&gt;を元に戻す 最後に 確認環境 はじめに 前回は、はてなブログAPIのレスポンスから必要な情報を拾って、後で扱いやすいように同じ形のXMLにするところまでを作った。 今回は、前回作成したスクリプトの出力を標準入力から受け…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhacolab.hatenablog.com%2Fentry%2F2019%2F08%2F03%2F193446&quot; title=&quot;【シェルと遊ぼう】はてなブログAPIのレスポンス解析 その2 1つの記事を1行にまとめる - HacoLab&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>2019-08-03 19:34:46</published>
  <title>【シェルと遊ぼう】はてなブログAPIのレスポンス解析 その2 1つの記事を1行にまとめる</title>
  <type>rich</type>
  <url>https://hacolab.hatenablog.com/entry/2019/08/03/193446</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
