ユニバーサル フィードパーサーで解析しようとしていますが、機能し<georss:point>55.32967 10.236263</georss:point>
ていません。にアクセスしようとしましたがitem['georss']
、すべて.item['georss:point']
item['point']
KeyError
フォローしようとしましたが、 feedparser が geo-rss を解析できますが、まだ機能していません
ユニバーサル フィードパーサーで解析しようとしていますが、機能し<georss:point>55.32967 10.236263</georss:point>
ていません。にアクセスしようとしましたがitem['georss']
、すべて.item['georss:point']
item['point']
KeyError
フォローしようとしましたが、 feedparser が geo-rss を解析できますが、まだ機能していません
Feedparser は georss をサポートしていませんが、http: //code.google.com/p/feedparser/issues/detail?id=62 でパッチを入手できるようです。
I had a look at the keys for each entry and found that the georss:point
tag is listed as georss_point
, so you can call the coordinate value for the entry with either feed.entry[i].georss_point
or feed.entry[i]['georss_point']
.