How to detect changed and new items in an RSS feed?
问题 Using feedparser or some other Python library to download and parse RSS feeds; how can I reliably detect new items and modified items? So far I have seen new items in feeds with publication dates earlier than the latest item. Also I have seen feed readers displaying the same item published with slightly different content as seperate items. I am not implementing a feed reader application, I just want a sane strategy for archiving feed data. 回答1: It depends on how much you trust the feed source