It depends on how much you trust the feed source. feedparser provides the .id attribute for feed elements - this attribute must be unique for both RSS sources and ATOM. For example, see, For example, feedparser ATOM Docs . Although .id will cover most cases, it is possible that the source may post multiple elements with the same identifier. In this case, you do not have much choice but to hash the contents of the element.
source share