--- rss2email.py.orig 2005-10-06 00:02:06.869570648 +0200 +++ rss2email.py 2005-10-06 00:02:49.020162784 +0200 @@ -23,7 +23,7 @@ # 1: Send text/html messages when possible. # 0: Convert HTML to plain text. -HTML_MAIL = 0 +HTML_MAIL = 1 # 1: Only use the DEFAULT_FROM address. # 0: Use the email address specified by the feed, when possible. @@ -393,11 +393,37 @@ if ishtml(content): message += "text/html" - content = ("\n\n" + - '

'+title+'

\n\n' + - unu(content[1]).strip() + # drop type tag (HACK: bad abstraction) - '

URL: '+link+'

' + - "\n\n") + content = (""" + + + %s + + + + + + + + +""" % (title, link, unu(content[1]).strip()) ) else: message += "text/plain" content = unu(content).strip() + "\n\nURL: "+link