Package deefuzzer :: Package deefuzzer :: Package tools :: Module PyRSS2Gen
[hide private]
[frames] | no frames]

Module PyRSS2Gen

source code

PyRSS2Gen - A Python library for generating RSS 2.0 feeds.


Author: Andrew Dalke <dalke@dalkescientific.com>

Classes [hide private]
  WriteXmlMixin
  IntElement
implements the 'publish' API for integers
  DateElement
implements the 'publish' API for a datetime.datetime
  Category
Publish a category element
  Cloud
Publish a cloud
  Image
Publish a channel Image
  Guid
Publish a guid
  TextInput
Publish a textInput
  Enclosure
Publish an enclosure
  Source
Publish the item's original source, used by aggregators
  SkipHours
Publish the skipHours
  SkipDays
Publish the skipDays
  RSS2
The main RSS class.
  RSSItem
Publish an RSS Item
Functions [hide private]
 
_element(handler, name, obj, d={}) source code
 
_opt_element(handler, name, obj) source code
 
_format_date(dt)
convert a datetime into an RFC 822 formatted date
source code
Variables [hide private]
  __name__ = "PyRSS2Gen"
  _generator_name = __name__+ "-"+ ".".join(map(str, __version__))
Function Details [hide private]

_format_date(dt)

source code 

convert a datetime into an RFC 822 formatted date

Input date must be in GMT.