Archived
1
0
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.
luminotes/view/Rss_item.py
Dan Helfman ea87c273f9 Added unit tests for new RSS related controller methods.
Setting separator to empty for a few more Rss_item elements.
2008-04-23 02:54:59 +00:00

16 lines
522 B
Python

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,
Title( title, separator = u"" ),
Link( link, separator = u"" ),
Description( description ),
Dc_date( date ),
# 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"" ),
)