<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>giuseppe</author_name>
  <author_url>https://blog.hatena.ne.jp/giuseppe/</author_url>
  <blog_title>Curlでリッチプログラミング</blog_title>
  <blog_url>https://giuseppe.hatenadiary.org/</blog_url>
  <categories>
    <anon>TIPS</anon>
  </categories>
  <description>アプリケーションに設定ファイルを用意して、ソースコードを変更せずにアプリケーションの動作を変更できるようにしたい場合があります。例えば以下のようにXMLで設定ファイルを用意する方法が考えられます。 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; &lt;config&gt; &lt;mode&gt;maintenance&lt;/mode&gt; &lt;log_level&gt;debug&lt;/log_level&gt; &lt;/config&gt; アプリケーションは起動時などに上記のXMLファイルを読み込んで解析します。そして、解析して得られた情報をメモリ上に保持し、プログラム中の必要な箇所から参照できるようにすればよい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiuseppe.hatenadiary.org%2Fentry%2F20061203%2F1165159437&quot; title=&quot;Curlシンタックスで設定ファイル - Curlでリッチプログラミング&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>2006-12-03 00:23:57</published>
  <title>Curlシンタックスで設定ファイル</title>
  <type>rich</type>
  <url>https://giuseppe.hatenadiary.org/entry/20061203/1165159437</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
