Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4323 -- Added the ability to display author names without email

addresses to RSS 2.0 feeds.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 12771614db6e82a9f6eeb836d963a4c0c1f74f82 1 parent 3c948d4
Malcolm Tredinnick authored May 26, 2007
1  AUTHORS
@@ -230,6 +230,7 @@ answer newbie questions, and generally made Django that much better:
230 230
     viestards.lists@gmail.com
231 231
     Milton Waddams
232 232
     wam-djangobug@wamber.net
  233
+    wangchun <yaohua2000@gmail.com>
233 234
     Dan Watson <http://theidioteque.net/>
234 235
     Chris Wesseling <Chris.Wesseling@cwi.nl>
235 236
     charly.wilhelm@gmail.com
2  django/utils/feedgenerator.py
@@ -168,6 +168,8 @@ def write_items(self, handler):
168 168
                     (item['author_email'], item['author_name']))
169 169
             elif item["author_email"]:
170 170
                 handler.addQuickElement(u"author", item["author_email"])
  171
+            elif item["author_name"]:
  172
+                handler.addQuickElement(u"dc:creator", item["author_name"], {"xmlns:dc": u"http://purl.org/dc/elements/1.1/"})
171 173
 
172 174
             if item['pubdate'] is not None:
173 175
                 handler.addQuickElement(u"pubDate", rfc2822_date(item['pubdate']).decode('ascii'))

0 notes on commit 1277161

Please sign in to comment.
Something went wrong with that request. Please try again.