<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>innocent-zero</author_name>
  <author_url>https://blog.hatena.ne.jp/innocent-zero/</author_url>
  <blog_title>ブログ</blog_title>
  <blog_url>https://gouf.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>wttr.in コマンドを定義する Links wttr.in wttr.in というサイトがある リクエスト内容に応じた地域の天気予報を表示してくれる (eg. http://wttr.in/Tokyo など) Web ブラウザだけでなく curl にも対応している。ので、これをターミナル上で表示させる コマンドを定義する Bash 上で動作する関数として、たとえば次のように定義する ( ~/.bashrc など適当なところに書く) # weather 関数として定義 # weahter 関数が与えられた1つめの引数を $1 の部分に差し込む # そのまま curl コマンドとして実行する …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgouf.hatenablog.com%2Fentry%2F2018%2F06%2F29%2F174028&quot; title=&quot;curl で wttr.in に問い合わせて ターミナル上で天気予報を確認する - ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/innocent-zero/20180629/20180629171836.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-29 17:40:28</published>
  <title>curl で wttr.in に問い合わせて ターミナル上で天気予報を確認する</title>
  <type>rich</type>
  <url>https://gouf.hatenablog.com/entry/2018/06/29/174028</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
