changed mail subject prefix
This commit is contained in:
parent
9ca1f39628
commit
d6ca5b783c
@ -119,7 +119,7 @@ class Entry(Base):
|
|||||||
if entry.has_key('summary'):
|
if entry.has_key('summary'):
|
||||||
self.summary = entry.get('summary').encode('latin-1', 'replace')
|
self.summary = entry.get('summary').encode('latin-1', 'replace')
|
||||||
#if entry.has_key('content'):
|
#if entry.has_key('content'):
|
||||||
#self.content = entry.get('content')
|
# self.content = entry.get('content')
|
||||||
if entry.has_key('author'):
|
if entry.has_key('author'):
|
||||||
self.author = entry.get('author').encode('latin-1', 'replace')
|
self.author = entry.get('author').encode('latin-1', 'replace')
|
||||||
if entry.has_key('updated_parsed'):
|
if entry.has_key('updated_parsed'):
|
||||||
@ -164,7 +164,7 @@ def mail_daily_digest(session):
|
|||||||
|
|
||||||
def mail_single_entry(feed, feedinfo, entry):
|
def mail_single_entry(feed, feedinfo, entry):
|
||||||
sender = feedinfo.title
|
sender = feedinfo.title
|
||||||
subject = entry.title
|
subject = '[atomstrom] %s' % entry.title
|
||||||
body = get_entry_text(entry)
|
body = get_entry_text(entry)
|
||||||
body = body + '\n\n'
|
body = body + '\n\n'
|
||||||
body = body + 'site: [%s]\n' % feedinfo.link
|
body = body + 'site: [%s]\n' % feedinfo.link
|
||||||
|
Loading…
Reference in New Issue
Block a user