Commit a24d80f1 authored by Karen Tracey's avatar Karen Tracey
Browse files

[1.0.X] Fixed #9556 - typos in syndication docs. Thanks sedden.

[9373] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 3ced836c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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