reference-entry-updated_parsed.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _reference.entry.updated_parsed:
  2. :py:attr:`entries[i].updated_parsed`
  3. ====================================
  4. The date this entry 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:`entries[i].published_parsed` does, the value of
  8. :py:attr:`entries[i].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. * /atom10:feed/atom10:entry/atom10:updated
  19. * /atom03:feed/atom03:entry/atom03:modified
  20. * /rss/channel/item/dc:date
  21. * /rss/channel/item/dcterms:modified
  22. * /rdf:RDF/rdf:item/dc:date
  23. * /rdf:RDF/rdf:item/dcterms:modified
  24. .. seealso::
  25. * :ref:`reference.entry.updated`