屬性我知道Feedparser支持ETag頭(http://www.feedparser.org/docs/http-etag.html)的檢索,但我檢索進料包括「ETAG」作爲內容節點的屬性,對檢索的每個entry
項:
<content type="application/json" etag="c04bada0055b8a12decd459302b2f777">{"name":"Badiou","parent":false}</content>
檢索的ETag與Feedparser
當我解析Atom文檔,但是,這個屬性似乎被扔掉:
'content': [{'base': u'', 'type': u'application/json', 'value': u'{"name":"Badiou","parent":false}', 'language': None}]
這是一個Feedparser限制,如果是的話,任何人都可以提出一個方法來檢索,或者我會只需要將Atom文檔解析爲XML?