App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine._internal.django.utils.feedgenerator.SyndicationFeed Class Reference
Inheritance diagram for google.appengine._internal.django.utils.feedgenerator.SyndicationFeed:
google.appengine._internal.django.utils.feedgenerator.Atom1Feed google.appengine._internal.django.utils.feedgenerator.RssFeed google.appengine._internal.django.utils.feedgenerator.Rss201rev2Feed google.appengine._internal.django.utils.feedgenerator.RssUserland091Feed

Public Member Functions

def __init__
 
def add_item
 
def num_items
 
def root_attributes
 
def add_root_elements
 
def item_attributes
 
def add_item_elements
 
def write
 
def writeString
 
def latest_post_date
 

Public Attributes

 feed
 
 items
 

Member Function Documentation

def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.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,
  ttl = None,
  kwargs 
)
Adds an item to the feed. All args are expected to be Python Unicode
objects except pubdate, which is a datetime.datetime object, and
enclosure, which is an instance of the Enclosure class.
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.add_item_elements (   self,
  handler,
  item 
)
Add elements on each item (i.e. item/entry) element.
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.add_root_elements (   self,
  handler 
)
Add elements in the root (i.e. feed/channel) element. Called
from write().
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.item_attributes (   self,
  item 
)
Return extra attributes to place on each item (i.e. item/entry) element.
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.latest_post_date (   self)
Returns the latest item's pubdate. If none of them have a pubdate,
this returns the current date/time.
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.root_attributes (   self)
Return extra attributes to place on the root (i.e. feed/channel) element.
Called from write().
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.write (   self,
  outfile,
  encoding 
)
Outputs the feed in the given encoding to outfile, which is a file-like
object. Subclasses should override this.
def google.appengine._internal.django.utils.feedgenerator.SyndicationFeed.writeString (   self,
  encoding 
)
Returns the feed in the given encoding as a string.

The documentation for this class was generated from the following file: