turbogears :: feed :: feed :: FeedController :: Class FeedController

Class FeedController

source code

            object --+    
                     |    
controllers.Controller --+
                         |
                        FeedController

Object for generating feeds in multiple formats

Instance Methods
 
__init__(self, default="atom1.0")
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
date_to_3339(self, date) source code
 
date_to_822(self, date) source code
 
depr_entrys(self, feed) source code
 
format_dates(self, feed, format) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  index = turbogears.expose()(index)
  atom1_0 = turbogears.expose(template= "kid:turbogears.feed.ato...
  atom0_3 = turbogears.expose(template= "kid:turbogears.feed.ato...
  rss2_0 = turbogears.expose(template= "kid:turbogears.feed.rss2...

Inherited from controllers.Controller: is_app_root

Properties

Inherited from object: __class__

Method Details

__init__(self, default="atom1.0")
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

atom1_0

Value:
turbogears.expose(template= "kid:turbogears.feed.atom1_0", format= "xm\
l", content_type= "application/atom+xml")(atom1_0)

atom0_3

Value:
turbogears.expose(template= "kid:turbogears.feed.atom0_3", format= "xm\
l", content_type= "application/atom+xml")(atom0_3)

rss2_0

Value:
turbogears.expose(template= "kid:turbogears.feed.rss2_0", format= "xml\
", content_type= "application/rss+xml")(rss2_0)