~ubuntu-branches/ubuntu/trusty/feedparser/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference-entry-updated_parsed.rst

  • Committer: Package Import Robot
  • Author(s): Barry Warsaw
  • Date: 2012-09-27 13:59:14 UTC
  • mfrom: (1.1.4) (3.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120927135914-daezasnbhy7c7xhq
Tags: 5.1.2-1ubuntu1
* Merge with Debian.  Remaining Ubuntu changes:
  + Build for Python 3.
  + debian/rules:
    - Run the test suite during build
  + Convert to dh_python2.
* Drop debian/patches/broken-tests.patch and d/p/CVE-2012-2921.patch
  since both have been applied upstream by 5.1.2
* Drop Build-Depends on python-chardet, python-libxml2, and
  python-utidylib as these cause test suite failures.  Now the Python 2
  build dependencies match the Python 3 build dependencies.  (LP: #1056820)

Show diffs side-by-side

added added

removed removed

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