django :: utils :: feedgenerator :: Atom1Feed :: Class Atom1Feed
[hide private]

Class Atom1Feed


Instance Methods [hide private]
 
add_item_elements(self, handler, item)
Add elements on each item (i.e.
 
add_root_elements(self, handler)
Add elements in the root (i.e.
 
root_attributes(self)
Return extra attributes to place on the root (i.e.
 
write(self, outfile, encoding)
Outputs the feed in the given encoding to outfile, which is a file-like object.
 
write_items(self, handler)

Inherited from SyndicationFeed: __init__, add_item, item_attributes, latest_post_date, num_items, writeString

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

Class Variables [hide private]
  mime_type = 'application/atom+xml'
  ns = u'http://www.w3.org/2005/Atom'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

add_item_elements(self, handler, item)

 

Add elements on each item (i.e. item/entry) element.

Overrides: SyndicationFeed.add_item_elements
(inherited documentation)

add_root_elements(self, handler)

 

Add elements in the root (i.e. feed/channel) element. Called from write().

Overrides: SyndicationFeed.add_root_elements
(inherited documentation)

root_attributes(self)

 

Return extra attributes to place on the root (i.e. feed/channel) element. Called from write().

Overrides: SyndicationFeed.root_attributes
(inherited documentation)

write(self, outfile, encoding)

 

Outputs the feed in the given encoding to outfile, which is a file-like object. Subclasses should override this.

Overrides: SyndicationFeed.write
(inherited documentation)