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:
parent
4a66564888
commit
1c90a3dcca
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue