reference-feed-updated_parsed.rst 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. .. _reference.feed.updated_parsed:
  2. :py:attr:`feed.updated_parsed`
  3. ==============================
  4. The date the feed was last updated, as a standard :program:`Python` 9-tuple.
  5. .. note::
  6. As of version 5.1.1, if this key doesn't exist but
  7. :py:attr:`feed.published_parsed` does, the value of
  8. :py:attr:`feed.published_parsed` will be returned.
  9. In the past the RSS pubDate element was stored in `updated`, but this incorrect
  10. behavior was reported in issue 310. However, developers may have come to rely
  11. on this incorrect behavior -- as was reported in issue 328 -- so to help avoid
  12. hurting their users' experience, this mapping from `updated_parsed` to
  13. `published_parsed` was temporarily introduced to give developers time to update
  14. their software, and to give users time to upgrade.
  15. This mapping is temporary and will be removed in a future version of
  16. feedparser.
  17. .. rubric:: Comes from
  18. * /atom03:feed/atom03:modified
  19. * /atom10:feed/atom10:updated
  20. * /rdf:RDF/rdf:channel/dc:date
  21. * /rdf:RDF/rdf:channel/dcterms:modified
  22. * /rss/channel/dc:date
  23. .. seealso::
  24. * :ref:`reference.feed.updated`