0

ユニバーサル フィードパーサーで解析しようとしていますが、機能し<georss:point>55.32967 10.236263</georss:point>ていません。にアクセスしようとしましたがitem['georss']、すべて.item['georss:point']item['point']KeyError

フォローしようとしましたが、 feedparser が geo-rss を解析できますが、まだ機能していません

4

2 に答える 2

1

Feedparser は georss をサポートしていませんが、http: //code.google.com/p/feedparser/issues/detail?id=62 でパッチを入手できるようです。

于 2011-02-18T12:46:53.697 に答える
0

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'].

于 2012-08-22T07:04:47.463 に答える