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]
  Category
Publish a category element
  Cloud
Publish a cloud
  DateElement
implements the 'publish' API for a datetime.datetime
  Enclosure
Publish an enclosure
  Guid
Publish a guid
  Image
Publish a channel Image
  IntElement
implements the 'publish' API for integers
  RSS2
The main RSS class.
  RSSItem
Publish an RSS Item
  SkipDays
Publish the skipDays
  SkipHours
Publish the skipHours
  Source
Publish the item's original source, used by aggregators
  TextInput
Publish a textInput
  WriteXmlMixin
Functions [hide private]
 
_element(handler, name, obj, d=None) source code
 
_format_date(dt)
convert a datetime into an RFC 822 formatted date
source code
 
_opt_element(handler, name, obj) source code
Variables [hide private]
  __package__ = None
hash(x)
  _generator_name = 'PyRSS2Gen-1.0.0'
Function Details [hide private]

_format_date(dt)

source code 

convert a datetime into an RFC 822 formatted date

Input date must be in GMT.