{"height":"190","provider_url":"https://hatena.blog","blog_url":"https://www.na3.jp/","url":"https://www.na3.jp/entry/20160909/p1","image_url":null,"provider_name":"Hatena Blog","published":"2016-09-09 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.na3.jp%2Fentry%2F20160909%2Fp1\" title=\"nokogiri \u306b\u3088\u308b\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u51e6\u7406\u304c\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u6642 - \u5143RX-7\u4e57\u308a\u306e\u9069\u5f53\u306a\u65e5\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u8272\u3005\u306a\u30d1\u30bf\u30fc\u30f3\u306e\u539f\u56e0\u304c\u3042\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u4eca\u56de\u306f\u6587\u5b57\u30b3\u30fc\u30c9\u304c\u539f\u56e0\u3060\u3063\u305f\u3002 charset = nil html = open(url, \"r:CP932\") do |f| charset = f.charset f.read end doc = Nokogiri::HTML.parse(html, nil, charset) \u2191\u306e\u5834\u5408\u3060\u3068\u3001\u53d6\u5f97\u3059\u308b\u30da\u30fc\u30b8\u306b\u3042\u308f\u305b\u3066 \"r:CP932\" \u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306a\u611f\u3058\u3002","type":"rich","title":"nokogiri \u306b\u3088\u308b\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u51e6\u7406\u304c\u9014\u4e2d\u3067\u6b62\u307e\u3063\u305f\u6642","width":"100%","author_name":"rx7","categories":["IT"],"blog_title":"\u5143RX-7\u4e57\u308a\u306e\u9069\u5f53\u306a\u65e5\u3005","author_url":"https://blog.hatena.ne.jp/rx7/","version":"1.0"}