Fixed #9556 - typos in syndication docs. Thanks sedden.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2008-11-09 19:01:34 +00:00
parent c367e2869e
commit c672e44ea9
1 changed files with 2 additions and 2 deletions

View File

@ -976,8 +976,8 @@ attributes. Thus, you can subclass the appropriate feed generator class
For example, you might start implementing an iTunes RSS feed generator like so::
class iTunesFeed(Rss201rev2Feed):
def root_attibutes(self):
attrs = super(iTunesFeed, self).root_attibutes()
def root_attributes(self):
attrs = super(iTunesFeed, self).root_attributes()
attrs['xmlns:itunes'] = 'http://www.itunes.com/dtds/podcast-1.0.dtd'
return attrs