Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #3958 -- Added lastBuildDate element to RSS feeds. Thanks,

baptiste.goupil@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit db8ca449817491f9f11cecee864e910aeb19c7d5 1 parent e4671d1
Malcolm Tredinnick authored April 09, 2007

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/utils/feedgenerator.py
1  django/utils/feedgenerator.py
@@ -132,6 +132,7 @@ def write(self, outfile, encoding):
132 132
             handler.addQuickElement(u"category", cat)
133 133
         if self.feed['feed_copyright'] is not None:
134 134
             handler.addQuickElement(u"copyright", self.feed['feed_copyright'])
  135
+        handler.addQuickElement(u"lastBuildDate", rfc2822_date(self.latest_post_date()).decode('ascii'))
135 136
         self.write_items(handler)
136 137
         self.endChannelElement(handler)
137 138
         handler.endElement(u"rss")

0 notes on commit db8ca44

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