Module PyRSS2Gen' :: Class RSS2
[hide private]
[frames] | no frames]

Class RSS2

source code

WriteXmlMixin --+
                |
               RSS2

The main RSS class.

Stores the channel attributes, with the "category" elements under ".categories" and the RSS items under ".items".

Instance Methods [hide private]
 
__init__(self, title, link, description, language=None, copyright=None, managingEditor=None, webMaster=None, pubDate=None, lastBuildDate=None, categories=None, generator='PyRSS2Gen-1.0.0', docs='http://blogs.law.harvard.edu/tech/rss', cloud=None, ttl=None, image=None, rating=None, textInput=None, skipHours=None, skipDays=None, items=None) source code
 
publish(self, handler) source code
 
publish_extensions(self, handler) source code

Inherited from WriteXmlMixin: to_xml, write_xml

Class Variables [hide private]
  element_attrs = {}
  rss_attrs = {'version': '2.0'}
Method Details [hide private]

__init__(self, title, link, description, language=None, copyright=None, managingEditor=None, webMaster=None, pubDate=None, lastBuildDate=None, categories=None, generator='PyRSS2Gen-1.0.0', docs='http://blogs.law.harvard.edu/tech/rss', cloud=None, ttl=None, image=None, rating=None, textInput=None, skipHours=None, skipDays=None, items=None)
(Constructor)

source code 
Overrides: WriteXmlMixin.__init__