#13110: Allow multiple enclosures in Atom feeds
-------------------------------------+-------------------------------------
     Reporter:  Piaume               |                    Owner:
                                     |  unaizalakain
         Type:  New feature          |                   Status:  closed
    Component:  contrib.syndication  |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  multiple,            |             Triage Stage:  Ready for
  enclosures, atom, feed             |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"aac2a2d2ae2486342058db0c72ed7ba2c7c8eb1e" aac2a2d]:
 {{{
 #!CommitTicketReference repository=""
 revision="aac2a2d2ae2486342058db0c72ed7ba2c7c8eb1e"
 Fixed #13110 -- Added support for multiple enclosures in Atom feeds.

 The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which
 is
 then used by the feed builder. If the feed is a RSS feed, an exception is
 raised as RSS feeds don't allow multiple enclosures per feed item.

 The ``item_enclosures`` hook defaults to an empty list or, if the
 ``item_enclosure_url`` hook is defined, to a list with a single
 ``Enclosure``
 built from the ``item_enclosure_url``, ``item_enclosure_length``, and
 ``item_enclosure_mime_type`` hooks.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/13110#comment:18>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.bf8c6632578fddcb53352df58e13f46b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to