class documentation

class GeoAtom1Feed(Atom1Feed, GeoFeedMixin):

View In Hierarchy

Undocumented

Method add​_item​_elements Add elements on each item (i.e. item/entry) element.
Method add​_root​_elements Add elements in the root (i.e. feed/channel) element. Called from write().
Method root​_attributes Return extra attributes to place on the root (i.e. feed/channel) element. Called from write().

Inherited from Atom1Feed:

Method write Output the feed in the given encoding to outfile, which is a file-like object. Subclasses should override this.
Method write​_items Undocumented
Class Variable content​_type Undocumented
Class Variable ns Undocumented

Inherited from SyndicationFeed (via Atom1Feed):

Method __init__ Undocumented
Method add​_item Add an item to the feed. All args are expected to be strings except pubdate and updateddate, which are datetime.datetime objects, and enclosures, which is an iterable of instances of the Enclosure class.
Method item​_attributes Return extra attributes to place on each item (i.e. item/entry) element.
Method latest​_post​_date Return the latest item's pubdate or updateddate. If no items have either of these attributes this return the current UTC date/time.
Method num​_items Undocumented
Method write​String Return the feed in the given encoding as a string.
Instance Variable feed Undocumented
Instance Variable items Undocumented

Inherited from GeoFeedMixin:

Method add​_georss​_element Add a GeoRSS XML element using the given item and handler.
Method add​_georss​_point Adds a GeoRSS point with the given coords using the given handler. Handles the differences between simple GeoRSS and the more popular W3C Geo specification.
Method georss​_coords In GeoRSS coordinate pairs are ordered by lat/lon and separated by a single white space. Given a tuple of coordinates, return a string GeoRSS representation.
def add_item_elements(self, handler, item):
Add elements on each item (i.e. item/entry) element.
def add_root_elements(self, handler):
Add elements in the root (i.e. feed/channel) element. Called from write().
def root_attributes(self):
Return extra attributes to place on the root (i.e. feed/channel) element. Called from write().