Remove "clip" from Fill

Put that in Gather. Also removed from feeds.py. "alone" mode was also added (it removes the description).
This commit is contained in:
2013-10-01 19:45:54 +02:00
parent 1b7fe8fbee
commit 78706952fe
2 changed files with 15 additions and 10 deletions

View File

@@ -343,14 +343,11 @@ class FeedItem(FeedBase):
description = desc = FeedDescriptor('desc')
content = FeedDescriptor('content')
def pushContent(self, value, clip=False):
def pushContent(self, value):
if not self.desc and self.content:
self.desc = self.content
if self.desc and clip:
self.content = self.desc + "<br/><br/>* * *<br/><br/>" + value
else:
self.content = value
self.content = value
def remove(self):
self.xml.getparent().remove(self.xml)