{"height":"190","url":"https://gfx.hatenadiary.org/entry/20100620/1277015182","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20100620%2F1277015182\" title=\" Smarty\u3092\u8abf\u3079\u3066\u3044\u308b - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://gfx.hatenadiary.org/","image_url":null,"blog_title":"Islands in the byte stream (legacy)","type":"rich","author_url":"https://blog.hatena.ne.jp/gfx/","published":"2010-06-20 15:26:22","version":"1.0","description":"Xslate\u304cSmarty\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u305f\u3089\u3044\u3044\u306e\u306b\u3001\u3068\u3044\u3046\u8981\u671b\u304c\u3042\u3063\u305f\u306e\u3067\u3001Smarty\u3092\u8abf\u3079\u3066\u3044\u308b\u3002Smarty\u306f\u6975\u529b\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d\u3092\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u78ba\u304b\u306b\u4f7f\u3044\u3084\u3059\u305d\u3046\u3060\u3002 \u8abf\u3079\u3066\u307f\u308b\u3068cycle\u95a2\u6570\u304c\u9762\u767d\u305d\u3046\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305aXslate\u306b\u4f3c\u305f\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u307f\u305f\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001\"even\"\u3068\"odd\"\u3092\u4ea4\u4e92\u306b\u8868\u793a\u3059\u308b\u3002 #!perl use strict; use Text::Xslate; my $tx = Text::Xslate->new(); print $tx->render_string(<<'T'); : for [1, 2, 3, 4] -> $ite\u2026","provider_name":"Hatena Blog","author_name":"gfx","width":"100%","title":" Smarty\u3092\u8abf\u3079\u3066\u3044\u308b","categories":["perl"],"provider_url":"https://hatena.blog"}