Personal wiki notebook (not under development)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Rss_item.py 522B

123456789101112131415
  1. from Rss_tags import Item, Title, Link, Description, Dc_date, Dc_creator, Guid
  2. class Rss_item( Item ):
  3. def __init__( self, title, link, description, date, guid ):
  4. Item.__init__(
  5. self,
  6. Title( title, separator = u"" ),
  7. Link( link, separator = u"" ),
  8. Description( description ),
  9. Dc_date( date ),
  10. # if we don't set the separator to empty, Node inserts newlines when the guid gets too long.
  11. # newlines in guids make Thunderbird angry
  12. Guid( guid, separator = u"" ),
  13. )