This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
2007-11-10 03:57:27 +00:00
|
|
|
from Rss_tags import Item, Title, Link, Description, Dc_date, Dc_creator, Guid
|
|
|
|
|
|
|
|
|
|
|
|
class Rss_item( Item ):
|
|
|
|
def __init__( self, title, link, description, date, guid ):
|
|
|
|
Item.__init__(
|
|
|
|
self,
|
2008-04-23 02:54:59 +00:00
|
|
|
Title( title, separator = u"" ),
|
|
|
|
Link( link, separator = u"" ),
|
2007-11-10 03:57:27 +00:00
|
|
|
Description( description ),
|
|
|
|
Dc_date( date ),
|
2008-04-22 23:24:30 +00:00
|
|
|
# if we don't set the separator to empty, Node inserts newlines when the guid gets too long.
|
|
|
|
# newlines in guids make Thunderbird angry
|
|
|
|
Guid( guid, separator = u"" ),
|
2007-11-10 03:57:27 +00:00
|
|
|
)
|