Index: django/contrib/syndication/feeds.py
===================================================================
--- django/contrib/syndication/feeds.py	(Revision 6220)
+++ django/contrib/syndication/feeds.py	(Arbeitskopie)
@@ -89,6 +89,7 @@
             categories = self.__get_dynamic_attr('categories', obj),
             feed_copyright = self.__get_dynamic_attr('feed_copyright', obj),
             feed_guid = self.__get_dynamic_attr('feed_guid', obj),
+            ttl = self.__get_dynamic_attr('ttl', obj),
         )
 
         try:
Index: django/utils/feedgenerator.py
===================================================================
--- django/utils/feedgenerator.py	(Revision 6220)
+++ django/utils/feedgenerator.py	(Arbeitskopie)
@@ -41,7 +41,7 @@
     "Base class for all syndication feeds. Subclasses should provide write()"
     def __init__(self, title, link, description, language=None, author_email=None,
             author_name=None, author_link=None, subtitle=None, categories=None,
-            feed_url=None, feed_copyright=None, feed_guid=None):
+            feed_url=None, feed_copyright=None, feed_guid=None, ttl=None):
         to_unicode = lambda s: force_unicode(s, strings_only=True)
         if categories:
             categories = [force_unicode(c) for c in categories]
@@ -58,12 +58,13 @@
             'feed_url': iri_to_uri(feed_url),
             'feed_copyright': to_unicode(feed_copyright),
             'id': feed_guid or link,
+            'ttl': ttl,
         }
         self.items = []
 
     def add_item(self, title, link, description, author_email=None,
         author_name=None, author_link=None, pubdate=None, comments=None,
-        unique_id=None, enclosure=None, categories=(), item_copyright=None):
+        unique_id=None, enclosure=None, categories=(), item_copyright=None, ttl=None):
         """
         Adds an item to the feed. All args are expected to be Python Unicode
         objects except pubdate, which is a datetime.datetime object, and
@@ -85,6 +86,7 @@
             'enclosure': enclosure,
             'categories': categories or (),
             'item_copyright': to_unicode(item_copyright),
+            'ttl': ttl,
         })
 
     def num_items(self):
@@ -142,6 +144,8 @@
         if self.feed['feed_copyright'] is not None:
             handler.addQuickElement(u"copyright", self.feed['feed_copyright'])
         handler.addQuickElement(u"lastBuildDate", rfc2822_date(self.latest_post_date()).decode('ascii'))
+        if self.feed['ttl'] is not None:
+            handler.addQuickElement(u"ttl", self.feed['ttl'])
         self.write_items(handler)
         self.endChannelElement(handler)
         handler.endElement(u"rss")
@@ -186,6 +190,8 @@
                 handler.addQuickElement(u"comments", item['comments'])
             if item['unique_id'] is not None:
                 handler.addQuickElement(u"guid", item['unique_id'])
+            if item['ttl'] is not None:
+                handler.addQuickElement(u"ttl", item['ttl'])
 
             # Enclosure.
             if item['enclosure'] is not None:
Index: AUTHORS
===================================================================
--- AUTHORS	(Revision 6220)
+++ AUTHORS	(Arbeitskopie)
@@ -163,6 +163,7 @@
     Nagy Károly <charlie@rendszergazda.com>
     Ben Dean Kawamura <ben.dean.kawamura@gmail.com>
     Ian G. Kelly <ian.g.kelly@gmail.com>
+    Thomas Kerpe <thomas@kerpe.net>
     Ben Khoo <khoobks@westnet.com.au>
     Garth Kidd <http://www.deadlybloodyserious.com/>
     kilian <kilian.cavalotti@lip6.fr>
Index: docs/syndication_feeds.txt
===================================================================
--- docs/syndication_feeds.txt	(Revision 6220)
+++ docs/syndication_feeds.txt	(Arbeitskopie)
@@ -547,6 +547,24 @@
 
         copyright = 'Copyright (c) 2007, Sally Smith' # Hard-coded copyright notice.
 
+        # TTL -- One of the following three is optional. The
+        # framework looks for them in this order.
+
+        def ttl(self, obj):
+            """
+            Takes the object returned by get_object() and returns the feed's
+            TTL (Time to live) as a normal Python string.
+            """
+
+        def ttl(self):
+            """
+            Returns the feed's ttl as a normal Python string.
+            """
+
+        ttl = 600 # Hard-coded Time to live.
+
+
+
         # ITEMS -- One of the following three is required. The framework looks
         # for them in this order.
 
