1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #14656 -- Added Atom1Feed published element

Some feed aggregators make use of the `published` element as well as
the `updated` element (within the Atom standard -- http://bit.ly/2YySb).

The standard allows for these two elements to be present in the same
entry. `Atom1Feed` had implemented the `updated` element which was
incorrectly taking the date from `pubdate`.
This commit is contained in:
Matt Deacalion Stevens
2013-07-17 20:20:20 +01:00
committed by Tim Graham
parent e1c737b62f
commit a269ea4fe0
11 changed files with 179 additions and 38 deletions

View File

@@ -67,6 +67,11 @@ Minor features
parameters that are passed to the ``dict`` constructor used to build the new
context level.
* The :class:`~django.utils.feedgenerator.Atom1Feed` syndication feed's
``updated`` element now utilizes `updateddate` instead of ``pubdate``,
allowing the ``published`` element to be included in the feed (which
relies on ``pubdate``).
Backwards incompatible changes in 1.7
=====================================