{"version":"1.0","provider_name":"Hatena Blog","categories":["python","memo"],"published":"2012-07-08 22:49:29","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120708%2F1341755369\" title=\"Python\u3067xml\u3092\u6574\u5f62\u3057\u3066\u8868\u793a\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Python\u3067xml\u3092\u6574\u5f62\u3057\u3066\u8868\u793a\u3059\u308b","url":"https://y0m0r.hateblo.jp/entry/20120708/1341755369","type":"rich","image_url":null,"author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","width":"100%","blog_url":"https://y0m0r.hateblo.jp/","author_name":"yuheiomori0718","description":"# coding=utf-8 from xml.dom.minidom import parse, parseString import urllib2 # web print parse(urllib2.urlopen(\"http://search.twitter.com/search.atom?&q=python\")).toprettyxml(encoding=\"utf-8\") # file print parse(open('/path/to/sample.xml')).toprettyxml(encoding=\"utf-8\") # \u6587\u5b57\u5217 print parseString('<aut\u2026","provider_url":"https://hatena.blog"}