title: Get new items from rss feed
body: <p>I am using python feedparser to parse some rss feeds(every 2 hours), unfortunately the rss feeds do not contain etag or modified values and therefore whenever I parse the feeds I get the entire data everytime. I am thinking of creating a hash of entries returned from feedparser.parse and store that in the database, so that next time when I parse again I can compare against the hash and see if feed has changed and only then kick off parsing for each item in the feed
  My questions</p>
  
  <ol>
  <li>Is there any other/better way to see if rss feed has updated</li>
  <li><p>How do I create the hash? Is it enough to just do the following</p>
  
  <pre><code>import hashlib 
  hash_object = hashlib.sha256(&lt;FEEDPARSER_RESPONSE&gt;)
  hex_dig = hash_object.hexdigest() 
  </code></pre></li>
  <li><p>Store the hex_dig in the database</p></li>
  </ol>