File: reference-entry-updated_parsed.rst

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (38 lines) | stat: -rw-r--r-- 1,232 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.. _reference.entry.updated_parsed:

:py:attr:`entries[i].updated_parsed`
====================================

The date this entry was last updated, as a standard :program:`Python` 9-tuple.


.. note::

    As of version 5.1.1, if this key doesn't exist but
    :py:attr:`entries[i].published_parsed` does, the value of
    :py:attr:`entries[i].published_parsed` will be returned.

    In the past the RSS pubDate element was stored in `updated`, but this incorrect
    behavior was reported in issue 310. However, developers may have come to rely
    on this incorrect behavior -- as was reported in issue 328 -- so to help avoid
    hurting their users' experience, this mapping from `updated_parsed` to
    `published_parsed` was temporarily introduced to give developers time to update
    their software, and to give users time to upgrade.

    This mapping is temporary and will be removed in a future version of
    feedparser.


.. rubric:: Comes from

* /atom10:feed/atom10:entry/atom10:updated
* /atom03:feed/atom03:entry/atom03:modified
* /rss/channel/item/dc:date
* /rss/channel/item/dcterms:modified
* /rdf:RDF/rdf:item/dc:date
* /rdf:RDF/rdf:item/dcterms:modified


.. seealso::

    * :ref:`reference.entry.updated`