Fixed #24985 -- Added note about possible invalid feed content

Thanks Michael Wood for the report and Tim Graham for the review.
This commit is contained in:
Claude Paroz 2015-06-21 20:53:01 +02:00
parent 4a66564888
commit 1c90a3dcca
1 changed files with 4 additions and 1 deletions

View File

@ -919,7 +919,10 @@ They share this interface:
``self.feed`` for use with `custom feed generators`_. ``self.feed`` for use with `custom feed generators`_.
All parameters should be Unicode objects, except ``categories``, which All parameters should be Unicode objects, except ``categories``, which
should be a sequence of Unicode objects. should be a sequence of Unicode objects. Beware that some control characters
are `not allowed <http://www.w3.org/International/questions/qa-controls>`_
in XML documents. If your content has some of them, you might encounter a
:exc:`ValueError` when producing the feed.
:meth:`.SyndicationFeed.add_item` :meth:`.SyndicationFeed.add_item`
Add an item to the feed with the given parameters. Add an item to the feed with the given parameters.