feedgenerator icon indicating copy to clipboard operation
feedgenerator copied to clipboard

Support Mulitple Enclosures

Open cristoper opened this issue 5 years ago • 0 comments

The version of feedgenerator.py distributed with Django supports passing an array of 'enclosures' to add_item() instead of a single 'enclsoure'. (Multiple enclosures are only supported by Atom feeds.) Here is the PR that added the supporte for multiple enclosures (August 2015):

https://github.com/django/django/commit/aac2a2d2ae2486342058db0c72ed7ba2c7c8eb1e#diff-1d2005672da1027b84aaeb48fe105351

It would be nice if that could be brought over to this package.

cristoper avatar Jan 23 '20 03:01 cristoper