<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mocas</author_name>
  <author_url>https://blog.hatena.ne.jp/mocas/</author_url>
  <blog_title>技術メモ</blog_title>
  <blog_url>https://mocas.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>jinja2</anon>
  </categories>
  <description>テンプレートエンジンって便利？ これまで、ネットワーク機器のコンフィグを自動生成するような目的で、テンプレートエンジンを使うのは「大げさ」だと思っていた・・・（簡単なtemplateの利用方法：python標準のstring.Templateを用いたcisco config作成スクリプト - 技術メモ） WEBの場合はデザイナ、プログラマの分業に役立つだろうけど、コンフィグ作成程度で分業はないよね。 そもそも、テンプレートエンジン独自の命令を覚えるのが面倒。慣れた言語の標準ベースで使える諸機能(ヒアドキュメント、文字列置換等)で十分。 とはいえ、自動生成ツールを作るたび、書き捨てスクリプトの山…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocas.hatenablog.com%2Fentry%2F2015%2F11%2F14%2F154337&quot; title=&quot;python jinja2(part1) cisco機器のconfig作成に便利なjinja2.Environment()設定 - 技術メモ&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>2015-11-14 15:43:37</published>
  <title>python jinja2(part1) cisco機器のconfig作成に便利なjinja2.Environment()設定</title>
  <type>rich</type>
  <url>https://mocas.hatenablog.com/entry/2015/11/14/154337</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
