[Mailman-Users] Formatting the html inside of article.html

Edward Ned Harvey eharvey at lyricsemi.com
Mon Oct 6 21:36:59 CEST 2008


> >By any chance, can you tell me a simple change, to fix the In-Reply-To
> >problem?
> 
> 
> Yes, it's very simple. See
> <http://bazaar.launchpad.net/~mailman-
> coders/mailman/2.1/revision/1017>.

Awesome.  You're the best.  :-)
And I'm glad to see the other "bugfix" in there too, addition of "Re: "
because that's exactly what I just did myself over here.  :-)

I don't know if this is something you'd like to include, but here's another
thing I just did:

Mailman/Archiver/HyperArch.py:
Approx Line 473:
             emailurl = self.email
             d["author_html"] = self.quote(author)
             d["email_url"] = url_quote(emailurl)
+            d["list_email_html"] = self.quote(self._mlist.GetListEmail())
+            d["list_email_url"] = url_quote(self._mlist.GetListEmail())
             d["datestr_html"] = self.quote(i18n.ctime(int(self.date)))
             d["body"] = self._get_body()
             d['listurl'] = self._mlist.GetScriptURL('listinfo', absolute=1)


templates/en/article.html
Approx Line 12:
  </HEAD>
  <BODY BGCOLOR="#ffffff">
    <H1>%(subject_html)s</H1>
-    <B>%(author_html)s</B>
+    Reply To: <B>%(author_html)s</B>
     <A
HREF="mailto:%(email_url)s?Subject=%(subject_url)s&In-Reply-To=%(in_reply_to
_url)s"
        TITLE="%(subject_html)s">%(email_html)s
        </A><BR>
+    Reply To: <B>%(listname)s</B>
+    <A
HREF="mailto:%(list_email_url)s?Subject=%(subject_url)s&In-Reply-To=%(in_rep
ly_to_url)s"
+       TITLE="%(subject_html)s">%(list_email_html)s
+       </A><BR>
     <I>%(datestr_html)s</I>
     <P><UL>




More information about the Mailman-Users mailing list