[Mailman-Users] changing Mailman layout

Mark Sapiro mark at msapiro.net
Thu Aug 14 17:42:08 CEST 2008


Zbigniew Szalbot wrote:
>
>What something like that work or do I need to learn python? :)
>
>            output.append('<META http-equiv="Content-Type" '
>                           'content="text/html; charset=%s">' % charset)
>
>            output.append('<META http-equiv="Content-Type" '
>                           'content="text/html; charset=%s">' % charset 
>\n '<link rel="stylesheet" href="domain.tld/stylesheet.css" 
>type="text/css">')


Learning Python is always worthwhile :)

The above replacement won't work for a few technical reasons. Do it
this way:

            output.append('<META http-equiv="Content-Type" '
                          'content="text/html; charset=%s">' % charset)
            output.append('<link rel="stylesheet" '
                   'href="domain.tld/stylesheet.css" type="text/css">')

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list